[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] monotone with argp
From: |
Ole Laursen |
Subject: |
Re: [Monotone-devel] monotone with argp |
Date: |
Thu, 27 Jan 2005 15:19:07 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
"Badai Aqrandista" <address@hidden> writes:
> i think i know where it segfault...
> but how do i know if this is a bug in my code or bug in libc? because
> i can't see what's going on inside libc... could anyone point me how
> to do that?
You can do it if you compile libc yourself. Or if there's a debug
version of libc available with your distribution (I think Debian might
have one, but I might be wrong).
BUT forget about libc for the time being - it is almost certainly a
bug in your code. Instead, examine the output from gdb more carefully.
You can type 'up' a couple of times till you get to the stack frame
with cpp_main, then print the local variables with 'print' followed
by an expression, e.g. the variable name.
--
Ole Laursen
http://www.cs.aau.dk/~olau/
- [Monotone-devel] monotone with argp, Badai Aqrandista, 2005/01/25
- Re: [Monotone-devel] monotone with argp, Nathaniel Smith, 2005/01/25
- Re: [Monotone-devel] monotone with argp, Badai Aqrandista, 2005/01/25
- Re: [Monotone-devel] monotone with argp, Nathaniel Smith, 2005/01/25
- Re: [Monotone-devel] monotone with argp, Matthew A. Nicholson, 2005/01/25
- Re: [Monotone-devel] monotone with argp, Badai Aqrandista, 2005/01/25
- Re: [Monotone-devel] monotone with argp, Matthew A. Nicholson, 2005/01/26
- Re: [Monotone-devel] monotone with argp, Badai Aqrandista, 2005/01/27
- Re: [Monotone-devel] monotone with argp,
Ole Laursen <=
- Re: [Monotone-devel] monotone with argp, Derek Scherger, 2005/01/27
- [Monotone-devel] Is there something like libmonotone?, Andreas Känner, 2005/01/27
- Re: [Monotone-devel] Is there something like libmonotone?, Matthew A. Nicholson, 2005/01/27
- Re: [Monotone-devel] Is there something like libmonotone?, Nathaniel Smith, 2005/01/27
- [Monotone-devel] Re: Is there something like libmonotone?, Bruce Stephens, 2005/01/27
- Re: [Monotone-devel] Re: Is there something like libmonotone?, Olivier Andrieu, 2005/01/30
- Re: [Monotone-devel] Is there something like libmonotone?, Andreas Känner, 2005/01/27
- Re: [Monotone-devel] Is there something like libmonotone?, Matt Lavin, 2005/01/27
- Re: [Monotone-devel] Is there something like libmonotone?, Andreas Känner, 2005/01/28
- [Monotone-devel] Re: Is there something like libmonotone?, graydon hoare, 2005/01/28