remote/2184: under MingW, cross compile with target=arm-gdb-elf

hbguan@tom.com hbguan@tom.com
Wed Oct 11 02:48:00 GMT 2006


>Number:         2184
>Category:       remote
>Synopsis:       under MingW, cross compile with target=arm-gdb-elf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 11 02:48:01 UTC 2006
>Closed-Date:
>Last-Modified:
>Originator:     huabo Guan
>Release:        6.5, not release
>Organization:
>Environment:
host: Mingw /Windows XP with sp2
>Description:
under mingw envirment, compile gdb with target=arm-gdb-elf,
in file "Remote-rdp.c", line 334:
    ...
    sleep(3);
    ...
    
should be change to :
	...
    Sleep(3);
    ...
    
because in mingw, should use windows API provide by mingw, no sleep(), we should call Sleep() instead.
>How-To-Repeat:
Under MingW enviroment:
1) configrure --target=arm-gdb-elf
2) make
>Fix:
file gdb\remote-rdp.c, line 334, 
replace system call sleep(3) with Sleep(3).
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list