| Summary: | Once debugger catches a segmentation fault, it does not debug the same code again | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | gokkurt <aksel> |
| Component: | cdt-debug | Assignee: | cdt-debug-inbox <cdt-debug-inbox> |
| Status: | NEW --- | QA Contact: | Jonah Graham <jonah> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, marc.khouzam, Michael_Rennie, pawel.1.piech |
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
gokkurt
What version are you using? The version is: 1.2.2.20100209-1511 (In reply to comment #1) > What version are you using? The version is: 1.2.2.20100209-1511 (In reply to comment #3) > (In reply to comment #1) > > What version are you using? > > The version is: 1.2.2.20100209-1511 Where did you get this version number? Are you running Helios or Indigo? Or older? Can you give an example program to reproduce and the exact procedure? For example the following code results in the following situation when the debugger is run. At first trial in the debugger, I instantly get the following message in the console pane:
.gdbinit: No such file or directory.
Reading symbols from /home/burtecin/workspace/reverser/Debug/reverser...done.
all of the local variables are defined successfully.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int stk2fast(void);
int main(int argc,char *argv[])
{
int i;
char *cpBUF;
FILE *fp[3];
cpBUF = NULL;
i = 100;
i *= 100;
printf("%d\n",i);
printf("Bitti\n",i);
return 1;
};
int stk2fasta(void)
{
return 1;
};
And at the end of debugging after return 1 line, I get the following message:
"Can't find a source file at "libc-start.c"
Locate the file or edit the source lookup path to include its location."
At the subsequent debugger trials, I see that in the variable pane, no local variables are allocated, at the first step over click I get the message I mentioned earlier. However, a restart of eclipse resolves this problem.
I got the version number from Help->About Eclipse->Installation details. I think, I use Galileo (?).
|