#751 PSAPI incompatible with win 9x

gdb (39)

It seems that sometime after GDB 5.1.1-1 PSAPI was
introduced. This is incompatible with Win 9X, as it
seems to be for NT/2K/XP. The documentation says that
TOOLHELP should be used for 9X.

On 98 and ME, attempting to use PSAPI with the latest
GDB gives an error: "The PSAPI.DLL file is linked to
missing export NTDLL.DLL:NtAllocateVirtualMemory".

I've downgraded to 5.1, which works.


  • Chris Johns

    Chris Johns - 2005-03-31

    Logged In: YES

    This is not a bug. I am lead to believe you can download the
    DLL from the MS web site but I am not sure from where.

    I will look at fixing this with a direct load (code already
    exists in GDB) which I suspect will mean '--pid=' may not
    work on Win98 without the DLL. I will also disable the trace
    info which was left on. This will be 6.3-2 when it happens.

  • Chris Johns

    Chris Johns - 2005-03-31
    • priority: 5 --> 1
  • Phil Stovell

    Phil Stovell - 2005-03-31

    Logged In: YES

    I've tried 4 versions of PSAPI.DLL:

    4.0.1371.1 (NTDLL:NtAllocateVirtualMemory missing)
    5.0.2134.1 (NTDLL:_stricmp missing)
    5.0.1641.1 (NTDLL:NtAllocateVirtualMemory missing)
    5.1.2600.2180 (NTDLL:wcslen missing)

    5.00.1641.1 is the version in windows\system

    The version of NTDLL.DLL in windows\system is 4.90.3000. I
    replaced that with a later version found on the net, the PC
    wouldn't boot properly (powerprof complained), so I regressed.

    I hope this helps.

  • Chris Johns

    Chris Johns - 2005-12-02

    Logged In: YES

    The uploaded gdb-6.3-2 snapshot has removed the need to have
    psapi.dll installed on the system.

  • Chris Johns

    Chris Johns - 2005-12-02
    • status: open --> open-fixed
  • Chris Johns

    Chris Johns - 2005-12-02
    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks