GDB, I know, I know, off topic

Discussion in 'C++' started by jalqadir@gmail.com, Jan 25, 2007.

  1. Guest

    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
    .....
    , Jan 25, 2007
    #1
    1. Advertising

  2. Marcus Kwok Guest

    <> wrote:
    > 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).

    --
    Marcus Kwok
    Replace 'invalid' with 'net' to reply
    Marcus Kwok, Jan 25, 2007
    #2
    1. Advertising

  3. wrote:
    > 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
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask
    Victor Bazarov, Jan 25, 2007
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wayne...
    Replies:
    15
    Views:
    754
    Toby Inkster
    Jul 23, 2004
  2. Surendra
    Replies:
    0
    Views:
    498
    Surendra
    Mar 23, 2006
  3. seba
    Replies:
    1
    Views:
    1,428
    mlimber
    Mar 22, 2007
  4. Timothy Madden
    Replies:
    1
    Views:
    1,602
    Timothy Madden
    Sep 17, 2009
  5. jacob navia
    Replies:
    5
    Views:
    530
    spinoza1111
    May 30, 2010
Loading...

Share This Page