• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Very basic question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Very basic question


  • Subject: Very basic question
  • From: Jason Breckenridge <email@hidden>
  • Date: Thu, 13 May 2010 18:48:23 +0100

Hello everyone,

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.

Thank you very much,

Jason

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.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Very basic question
      • From: Alastair Houghton <email@hidden>
    • Re: Very basic question
      • From: Xochitl Lunde <email@hidden>
    • Re: Very basic question
      • From: David Dunham <email@hidden>
  • Prev by Date: Re: How to set background color of TableView
  • Next by Date: Re: Very basic question
  • Previous by thread: Xcode 3.2.2 Linker warnings
  • Next by thread: Re: Very basic question
  • Index(es):
    • Date
    • Thread