The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.00
seconds.
Search:
Posts Made By:
bagpussnz
Forum:
Programming
09-08-2014
0
GDB problem accessing static variables in C
2,562
Posted By
bagpussnz
GDB problem accessing static variables in C
Hi,
Can anyone explain this please..... This is on AIX with GDB (tried a few versions). It only happens when program compiled in 64 bit and only with static variables....
A simple test program......
Forum:
AIX
09-08-2014
2
Gdb on a 64 bit executable - cannot access memory
4,213
Posted By
bagpussnz
Gdb on a 64 bit executable - cannot access memory
Hi,
Can anyone explain this please.....
A simple test program...
### snip
#include <stdio.h>
main() {
static int n;
n = 6;
printf("hello %d\n", n);
n=7;
}
### snip
64 bit...
Showing results 1 to 2 of 2
Member Badges and Information Modal
×