Hi,

I am a newbie to MinGW environment.

Following few wiki documents, I've installed following things on my
Windows system-

1.     MinGW-5.1.6
2.     Msys-1.0.11
3.     MsysDTK-1.0.1
4.     Bison-2.4.1
5.     Flex-2.5.4
6.     Termcap-1.3.1

Then I tried to build a Cross Debugger with GDB-6.3 using configure command -

.../gdb-6.3/src/configure --disable-werror  --disable-nls --with-expat=no
--target=$TARGET --prefix=$PREFIX

It got built successfully.
But when I try to debug a sample application in GDB Simulator, it
behaves strangely.

=============================================================
(gdb) tar sim
    Connected to the simulator.

(gdb) lo
    Loading section .text, size 0x1be0 vma 0x400
    Loading section .rodata, size 0x4 vma 0x1fe0
    Loading section .data, size 0x884 vma 0x2fe4
    Start address 0x400
    Transfer rate: 74560 bits in <1 sec.

(gdb) b main
    Breakpoint 1 at 0x630: file test.c, line 31.

(gdb) run
    Starting program: C:\msys\1.0\home\testing/./test.out

    Program received signal ?, Unknown signal.
    main () at test.c:31

31      {
(gdb) next
    warning: Signal ? does not exist on this system.

    Program received signal ?, Unknown signal.
    testfun () at test.c:6
6       {
(gdb)
    warning: Signal ? does not exist on this system.


    Program received signal ?, Unknown signal.
    0x00000542 in testfun () at test.c:6
6       {
(gdb)
    warning: Signal ? does not exist on this system.


    Program received signal ?, Unknown signal.
    0x00000546 in testfun () at test.c:6
6       {
(gdb)
    warning: Signal ? does not exist on this system.


    Program received signal ?, Unknown signal.
    0x00000548 in testfun () at test.c:6
=============================================================

Looking at the memory locations through which it steps (0x00000542,
0x00000546, 0x00000548...), it looks like it is stepping properly
through the assembly code (though "next" command was given).

When I check the local variable values, it shows them properly.

So what could be the problem??
Why it is throwing the message -
"Program received signal ?, Unknown signal."?

Is there any problem with my Build Environment?
Am I need to install any other MinGW Tool/DLL??
Or is there a problem in my GDB source code itself??

Regards
Jack