Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by Hal Peterson
Wed, 08 Feb 1989 19:53
xgdb dumps core
Author: Hal Peterson
Date: Wed, 08 Feb 1989 19:53
Date: Wed, 08 Feb 1989 19:53
12 lines
991 bytes
991 bytes
I am compiling xgdb version 3.1 with X11R3 on a Sun-3 running SunOS 3.5, and it crashes when I hit the Quit button. The reason is that lookup_cmd is writing into the command string which is a constant in xgdb.c; therefore GCC (I'm using version 1.33 of that, BTW) makes the constant read-only. I fixed the problem by compiling xgdb.c by hand with the "-fwritable-strings" option on the GCC command line. The real fix is to change addbutton to make a copy of its input string. -- Hal Peterson / Cray Research / 1440 Northland Dr. / Mendota Hts, MN 55120 hrp@cray.com uunet!cray!hrp +1 612 681 3145
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