This is probably a "Doh!"-moment-in-waiting, but here goes anyway.
I am working on a c++ command-line project with Xcode 3.2.2. Everything builds fine with no issues. However, when I debug the executable using GDB, I find that GDB prints a message each time I step over/into/out a line of code, as the transcript below indicates:
I would greatly appreciate an indication of what is going on. It would appear to be a null pointer somewhere, but I'm not sure under what circumstances GDB would have an issue, since the executable runs to completion with no crashing.
This GDB was configured as "x86_64-apple-darwin".tty /dev/ttys002
Loading program into debugger…
sharedlibrary apply-load-rules all
Program loaded.
run
[Switching to process 79760]
Running…
Current language: auto; currently c++
Page 1 /Users/jake/Development/Projects/wksp/FormatTool/test_source/ex_repeat.psf Tue May 11 19:43:26 2010
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
(gdb) continue
Debugger stopped.
Program exited with status value:0.