GDB, I know, I know, off topic

J

jalqadir

Sorry, but I don't know where else to find C++ programmers who, without
a doubt, will be able to help me with this problem.
I am developing a GUI [GTKMM] under MS Window XP, and since I am not
familiar with the development aspect of MSW I am having problems with
the GDB.
The application 'crashes' or in other words, it has a segmentation
fault, to find out which method call caused the segmentation fault
[sf], I typed gdb Jaime.exe -> run [the sf occurs] -> bt... then
the words " No stack." appear.
How can I check which f'tion or method call caused the problem?

Thanks folks, and please forgive me for the off topic thing.
===============================================================
PD,
here is the Makefile:
# Project: Jaime
# Makefile created by Dev-C++ 4.9.9.2

CPP = g++.exe -D__DEBUG__
CC = gcc.exe -D__DEBUG__
WINDRES = windres.exe
RES =
OBJ = main.o ../jme/exception/exception.o jaime.o combo.o contacts.o
entry.o $(RES)
LINKOBJ = main.o ../jme/exception/exception.o jaime.o combo.o
contacts.o entry.o $(RES)
LIBS = -L"C:/Dev-Cpp/lib" -user32 -Wl,-luuid -Wl,--rpath
-Wl,/home/ivan/cross/build/lib -LC:/Dev-Cpp/lib
-L/home/ivan/cross/build/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6
-lgtk-win32-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-win32-2.0
-limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0
-lgdi32 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype
-lz -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
-liconv -mwindows -lgmon -pg -g3
INCS = -I"C:/Dev-Cpp/include"
CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"
-I"C:/Dev-Cpp/include/c++/3.4.2/backward"
-I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"
-I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
BIN = Jaime.exe
CXXFLAGS = $(CXXINCS) -mms-bitfields -IC:/Dev-Cpp/include/gtkmm-2.4
-IC:/Dev-Cpp/lib/gtkmm-2.4/include -IC:/Dev-Cpp/include/glibmm-2.4
-IC:/Dev-Cpp/lib/glibmm-2.4/include -IC:/Dev-Cpp/include/gdkmm-2.4
-IC:/Dev-Cpp/lib/gdkmm-2.4/include -IC:/Dev-Cpp/include/pangomm-1.4
-IC:/Dev-Cpp/include/atkmm-1.6 -IC:/Dev-Cpp/include/gtk-2.0
-IC:/Dev-Cpp/include/sigc++-2.0 -IC:/Dev-Cpp/lib/sigc++-2.0/include
-IC:/Dev-Cpp/include/glib-2.0 -IC:/Dev-Cpp/lib/glib-2.0/include
-IC:/Dev-Cpp/lib/gtk-2.0/include -IC:/Dev-Cpp/include/pango-1.0
-IC:/Dev-Cpp/include/cairo -I/home/ivan/cross/build/include/freetype2
-I/home/ivan/cross/build/include -IC:/Dev-Cpp/include/atk-1.0
-fno-access-control -fexceptions -fverbose-asm -pg -g3
CFLAGS = $(INCS) -fno-access-control -fexceptions -fverbose-asm -pg
-g3
RM = rm -f
.....
 
M

Marcus Kwok

Sorry, but I don't know where else to find C++ programmers who, without
a doubt, will be able to help me with this problem.
I am developing a GUI [GTKMM] under MS Window XP, and since I am not
familiar with the development aspect of MSW I am having problems with
the GDB.

Try one of the gnu.* newsgroups (maybe gnu.g++.help).
 
V

Victor Bazarov

Sorry, but I don't know where else to find C++ programmers who,
without a doubt, will be able to help me with this problem.
I am developing a GUI [GTKMM] under MS Window XP, and since I am not
familiar with the development aspect of MSW I am having problems with
the GDB.
The application 'crashes' or in other words, it has a segmentation
fault, to find out which method call caused the segmentation fault
[sf], I typed gdb Jaime.exe -> run [the sf occurs] -> bt... then
the words " No stack." appear.
How can I check which f'tion or method call caused the problem?

Have you tried asking in 'gnu.utils.help'? Also, you may not be the
only one using gdb under Windows. Asking in the Windows newsgroup
can also be useful.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top