- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Neither
set varname="newVal"
in the command window
nor
on selection "var"/ set value
in the graphical ui
modified the according variable.
Integer or real variables can be modified these ways. How about character?
Thank you in advance
AG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Axel,
Maybe I missed the point, but I cannot reproduce the problem. A character variable can be modified with the debugger on command line and also on the GUI via the Eval Window.
Here a sample on command line:
$ cat charval.c
int main()
{
char charval='x';
}
$ icc -g charval.c
$ idbc a.out
Intel Debugger for applications running on IA-32, Version 12.0, Build [74.923.2]
-----------------
object file name: a.out
Reading symbols from a.out...done.
(idb) b main
Brakpiont 1 at 0x80483c1: file charval.c, line 3.
(idb) r
Starting program a.out
Breakpoint 1, main () at charvlc:3
3 char charval='x';
(idb) step
4 }
(idb) print charval
$1 = 120 'x'
(idb) set charval='y'
(idb) print charval
$2 = 121 'y'
(idb)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using a Fortran 90 application (RedHat Linux, IA32, idb 11.1 (idb 12 does not work as well), I faced the problems described before:
PROGRAM bubu
CHARACTER*10 text
text = 'A'
PRINT *,text
END PROGRAM bubu
Changing variable 'text' cannot be done.
Thank you in advance.
AG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll investigate on this.
Hubert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page