Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [photran] Global Variables

I'm not sure if it is GDB specific.  I've never just used GDB.  I recall that Code Forge (using IDB) couldn't do this without finding the global variable name by greping the binary.  It ended up looking something like mp_routinename_variablename.  In the end it wasn't very useful.  I don't recall if DDD in ladebug mode (also using IDB) could do it.  I really wish I was able to help more but I am more applications oriented -- Mechanical Engineer vs Software Engineer, but please let me know and I'll do what I can.

BTW I am an instructor/research faculty at Johns Hopkins.  Not sure if anyone here participates in Photran/Eclipse, but if you have contacts I'd be willing to coordinate with them if it's helpful.

Regards,
Matt

-----Original Message-----
From: photran-bounces@xxxxxxxxxxx on behalf of Ralph Johnson
Sent: Thu 10/11/2007 6:03 PM
To: Photran Information
Subject: Re: [photran] Global Variables
 
On 10/11/07, Lear, Matthew H. <Matthew.Lear@xxxxxxxxxx> wrote:
> Ralph,
>
> Thanks for your reply.  I have the opposite problem as you: I am a
> reasonably good Fortran programmer with little/no JAVA/C experience.  What I
> would love to see in Photran is the ability to monitor global variables in
> local subroutines.

Is this a gdb problem?  Can gdb display these variables?

The CDT/Photran debugger is just a shell around gdb, so if gdb can't
do it then it will be hard for Photran to, but if gdb can do it then
we ought to figure out a way for Photran to, too.

-Ralph
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

<<winmail.dat>>


Back to the top