RE: Error building qnx cross-gdb 6.3

Dave Korn
2005-05-24T14:09:28Z

----Original Message----
>From: Ion Gaztañaga
>Sent: 24 May 2005 05:58

> The created i386-pc-nto-qnx6.3.0-gdb.exe.stackdump was:
>
> Exception: STATUS_ACCESS_VIOLATION at eip=0042012D
> eax=00000039 ebx=00000039 ecx=00000000 edx=00000039 esi=61782CD8
> edi=00000001
> ebp=0022ECE8 esp=0022ECE4
>
program=C:\cygwin\tools\i386-pc-nto-qnx6.3.0\bin\i386-pc-nto-qnx6.3.0-gdb.ex
e,
> pid 920, thread main
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame Function Args
> 0022ECE8 0042012D (00000039, 00000000, 0062A650, 005E122C)
> 0022ED28 004E0F60 (61782CD8, 00000000, 0022ED48, 00403DB6)
> 0022ED38 00425F89 (006283B0, 00000400, 0022EE98, 00401616)
> 0022ED48 00403DB6 (61782D00, 61782CD8, 0058E0E2, 00583000)
> 0022EE98 00401616 (0022F050, 0022F060, 0022EFD8, 004020F5)
> 0022EEA8 00402281 (005834D0, 0022F010, 0022EFB4, 00000000)
> 0022EFD8 004020F5 (00402270, 005834D0, 0022F010, 0022F008)
> 0022F018 004022E0 (00401110, 0022F050, 0058E0E2, 00000006)
> 0022F038 00401DF3 (0022F050, 00000754, 0022F068, 6109106A)
> 0022F068 004010AA (00000001, 61782CD8, 101000A8, 0022F0C0)
> 0022F0A8 61005F34 (0022F0C0, 7C920833, 77D197E4, 77D19812)
> 0022FF88 6100614B (00000000, 00000000, 00000000, 00000000)
> End of stack trace

Why don't you debug it with native gdb? You could also get a more
meaningful backtrace by running

addr2line --exe=/tools/i386-pc-nto-qnx6.3.0/bin/i386-pc-nto-qnx6.3.0-gdb.exe

and cutting and pasting the column of addresses under 'Function' into it.

cheers,
DaveK
--
Can't think of a witty .sigline today....