• 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
Re: How to dump core?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to dump core?


  • Subject: Re: How to dump core?
  • From: "Justin C. Walker" <email@hidden>
  • Date: Wed, 10 May 2006 18:36:26 -0700


On May 10, 2006, at 18:20 , Ken Turkowski wrote:

I'm doing some unit testing by compiling directly with gcc in Terminal, and running as a command line tool, and I get a segmentation fault. When I run in GDB, it runs fine. How can I get it to dump core when running from the command line? Or do you have some alternative debugging strategies?

"man abort"; you may need to enable core dumps in your terminal/shell session (which is shell-specific; cf the man-page for your shell). Also, check that the system's "sysctl" variable for coredumps is enabled (!= 0).


Regards,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------


_______________________________________________ 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
References: 
 >How to dump core? (From: Ken Turkowski <email@hidden>)

  • Prev by Date: Re: A problem about StripAddress
  • Next by Date: Re: A problem about StripAddress
  • Previous by thread: How to dump core?
  • Next by thread: Re: How to dump core?
  • Index(es):
    • Date
    • Thread