diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-04-22 16:52:14 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-13 15:30:27 +0200 |
commit | 22085d1900b9c3e214f837a5549e9c9c56a69b99 (patch) | |
tree | 3b8bede4c0b99d24c1e847cc2e3f656fa5df439e /gcc/cp/parser.cc | |
parent | 9e490bea69205ec4cad8caf21f19d8a8a89a7b43 (diff) | |
download | gcc-22085d1900b9c3e214f837a5549e9c9c56a69b99.zip gcc-22085d1900b9c3e214f837a5549e9c9c56a69b99.tar.gz gcc-22085d1900b9c3e214f837a5549e9c9c56a69b99.tar.bz2 |
ada: Add support for symbolic backtraces with DLLs on Windows
This puts Windows on par with Linux as far as backtraces are concerned.
gcc/ada/
* libgnat/s-tsmona__linux.adb (Get): Move down descriptive comment.
* libgnat/s-tsmona__mingw.adb: Add with clause and use clause for
System.Storage_Elements.
(Get): Pass GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT in the call
to GetModuleHandleEx and remove the subsequent call to FreeLibrary.
Upon success, set Load_Addr to the base address of the module.
* libgnat/s-win32.ads (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS): Use
shorter literal.
(GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT): New constant.
Diffstat (limited to 'gcc/cp/parser.cc')
0 files changed, 0 insertions, 0 deletions