Re: Ping [PATCH] ada: PR target/117538 Traceback includes load address if executable is PIE.

2024-11-23 Thread Eric Botcazou
> What I didn’t say before is that, if for example an exception is raised > in Ada Language Server and the code uses s-trasym to output a report, > what you get on macOS is, for example, > > ALS.MAIN] in GNATformat Format > [ALS.MAIN] raised CONSTRAINT_ERROR : erroneous memory access > _ALS.MAIN_

Ping [PATCH] ada: PR target/117538 Traceback includes load address if executable is PIE.

2024-11-22 Thread Simon Wright
What I didn’t say before is that, if for example an exception is raised in Ada Language Server and the code uses s-trasym to output a report, what you get on macOS is, for example, ALS.MAIN] in GNATformat Format [ALS.MAIN] raised CONSTRAINT_ERROR : erroneous memory access _ALS.MAIN_ 0x0001058

[PATCH] ada: PR target/117538 Traceback includes load address if executable is PIE.

2024-11-13 Thread Simon Wright
If s-trasym.adb (System.Traceback.Symbolic, used as a renaming by GNAT.Traceback.Symbolic) is given a traceback from a position-independent executable, it does not include the executable's load address in the report. This is necessary in order to decode the traceback report. Note, this has already