Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Joseph E. Sacco
Mon, 17 Jul 1989 20:16
segmentation fault when compiled under gcc
Author: Joseph E. Sacco
Date: Mon, 17 Jul 1989 20:16
Date: Mon, 17 Jul 1989 20:16
27 lines
1642 bytes
1642 bytes
Hi Randy, I brought up GDB-3.2 on a SUN4/110 running 4.0.3. I first built GDB using GCC-1.35.0 and bison remembering to set the link flag -Bstatic for the sun. The debugger seemed to work OK on small programs so I thought I would test it with a larger piece of code. I have been playing with ET++ so I applied GDB to the application named micky. Micky with all of its source compiled -g is about 17 Meg. GDB chokes on it so I recompiled most of it without -g reducing the image to about 6 Meg. At this size GDB 3.2 [and 3.1.2] will initially accept it. A break point is set via "break main". The system chugs for a long while, says its reading the symbols in micky.c and then aborts over a segmentataion fault without ever setting the break point. I recompiled GDB using the SUN C compiler and yacc. I then fed the 6 Meg version of micky to GDB. Unlike the previous experiment I was able to set a break point at main as well as other break points. So ........ I don't know what this means. I would be willing to run further tests at your suggestion. Also, if there is anyone around who actually has ET++ running on a SUN4 under g++ I would like to here from them. Joseph
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads