Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Why won't gdb debug Smaug? And what is ntdll.dll?

Why won't gdb debug Smaug? And what is ntdll.dll?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Roy Fenimore   (4 posts)  Bio
Date Sun 01 Jun 2003 04:48 AM (UTC)
Message
I just compiled the Smaug with the latest beta of Dev-C++ (what a nightmare!) and it runs fine. But when I try to debug it with gdb (to find out where first_auth is initialized before being used--it's driving me crazy!) gdb crashes saying that it can't find ntdll.dll.

GDB will debug other programs fine, and Smaug will run fine without the debugger running....

What the heck is ntdll.dll???? I'm running windows XP, not NT.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 01 Jun 2003 08:43 AM (UTC)
Message
I'm not sure why gdb is crashing, but I can answer the other problem. I think ntdll.dll is one of the core NT dlls, maybe the kernel, maybe not. XP is simply a variant of NT (as is also Windows 2000), like Windows 98 and ME are variants of Windows 95.

To debug, why not just compile with Cygwin, that should work better. :)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,908 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.