* how to enable core files ?
@ 2002-02-26 20:32 Mark Pilon
2002-02-26 20:58 ` Neil Horman
2002-02-26 21:06 ` T.Michael Turney
0 siblings, 2 replies; 4+ messages in thread
From: Mark Pilon @ 2002-02-26 20:32 UTC (permalink / raw)
To: linuxppc-embedded
That is, what do I have to set / enable / include on my target
so that a core file will be created when an application SEGVs ?
I'm running Wolfgang's SELF -- and really need to be able to poke
at a core file when my app dies.
thanks,
Mark
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to enable core files ?
2002-02-26 20:32 how to enable core files ? Mark Pilon
@ 2002-02-26 20:58 ` Neil Horman
2002-02-26 21:06 ` T.Michael Turney
1 sibling, 0 replies; 4+ messages in thread
From: Neil Horman @ 2002-02-26 20:58 UTC (permalink / raw)
To: Mark Pilon; +Cc: linuxppc-embedded
Mark Pilon wrote:
>
> That is, what do I have to set / enable / include on my target
> so that a core file will be created when an application SEGVs ?
>
> I'm running Wolfgang's SELF -- and really need to be able to poke
> at a core file when my app dies.
>
> thanks,
>
> Mark
I'm not erally familiar with SELF, but we had this same problem. We running
under bash and found that we could create core files with the following command:
ulimit -c <size> OR 'unlimited'
Its a built in bash command, so the implementation may vary if you are running a
different shell. For what its worth though, hope that helps!
Neil
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: how to enable core files ?
2002-02-26 20:32 how to enable core files ? Mark Pilon
2002-02-26 20:58 ` Neil Horman
@ 2002-02-26 21:06 ` T.Michael Turney
1 sibling, 0 replies; 4+ messages in thread
From: T.Michael Turney @ 2002-02-26 21:06 UTC (permalink / raw)
To: Mark Pilon, linuxppc-embedded
In your .bashrc file
ulimit -c unlimited
allows a core file of unlimited size to be created.
ulimit is a bash built-in, so if you want additional
info do a man bash and search for ulimit.
Cheers,
T.mike
> -----Original Message-----
> From: owner-linuxppc-embedded@lists•linuxppc.org
> [mailto:owner-linuxppc-embedded@lists•linuxppc.org]On Behalf Of Mark
> Pilon
> Sent: Tuesday, February 26, 2002 12:33 PM
> To: linuxppc-embedded@lists•linuxppc.org
> Subject: how to enable core files ?
>
>
>
> That is, what do I have to set / enable / include on my target
> so that a core file will be created when an application SEGVs ?
>
> I'm running Wolfgang's SELF -- and really need to be able to poke
> at a core file when my app dies.
>
> thanks,
>
> Mark
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: how to enable core files ?
@ 2002-02-26 21:33 Kerl, John
0 siblings, 0 replies; 4+ messages in thread
From: Kerl, John @ 2002-02-26 21:33 UTC (permalink / raw)
To: 'Neil Horman', Mark Pilon; +Cc: linuxppc-embedded
You might also check the setrlimit(2) manpage, which includes
the relevant C library routine.
-----Original Message-----
From: Neil Horman [mailto:nhorman@lvl7•com]
Sent: Tuesday, February 26, 2002 1:58 PM
To: Mark Pilon
Cc: linuxppc-embedded@lists•linuxppc.org
Subject: Re: how to enable core files ?
Mark Pilon wrote:
>
> That is, what do I have to set / enable / include on my target
> so that a core file will be created when an application SEGVs ?
>
> I'm running Wolfgang's SELF -- and really need to be able to poke
> at a core file when my app dies.
>
> thanks,
>
> Mark
I'm not erally familiar with SELF, but we had this same problem. We running
under bash and found that we could create core files with the following
command:
ulimit -c <size> OR 'unlimited'
Its a built in bash command, so the implementation may vary if you are
running a
different shell. For what its worth though, hope that helps!
Neil
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-02-26 21:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-26 20:32 how to enable core files ? Mark Pilon
2002-02-26 20:58 ` Neil Horman
2002-02-26 21:06 ` T.Michael Turney
-- strict thread matches above, loose matches on Subject: below --
2002-02-26 21:33 Kerl, John
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox