This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb emits error message, Exception: STATUS_ACCESS_VIOLATION


On Wed, Jun 07, 2000 at 06:55:56PM +0900, Sung-taek Lim wrote:
>Hello, I'm modifying gdb 4.18 to support parallel port remote debugging. 
>I've linked an object file which contains references to _inp, _outp functions to
>gdb executable. And with additional option -luser32 and -lmsvcrt the make 
>procedure completed without any problem. But when I execute the gdb.exe
>it emits following message,
>
>[main] D:\CYGNUS\CYGWIN-B20\WORK\GDB_BUILD\BUILD\GDB\GDB.EXE 6196 (0) handle_exc
>eptions: Exception: STATUS_ACCESS_VIOLATION
>[main] GDB 6196 (0) handle_exceptions: Dumping stack trace to GDB.EXE.core
>
>When I excluded the object file it didn't make any difference. I think the problem is
>'-luser32' or '-lmsvcrt' option. Can anybody explain this please?

If you're going to be modifying gdb, you'd better familiarize yourself with
problems like this.  You have a problem in gdb.  The way to debug it is to
debug gdb using a working copy of gdb, just like you would for UNIX.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]