GDB, cant break on _d_throwc anymore !

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 18 08:52:00 PDT 2016


On Sunday, 18 September 2016 at 15:48:27 UTC, Basile B. wrote:
> On Sunday, 18 September 2016 at 15:40:55 UTC, Guillaume Piolat 
> wrote:
>> On Sunday, 18 September 2016 at 15:40:09 UTC, Basile B. wrote:
>>> Hello, I'm sure it was working last time I've tried (I can't 
>>> say when, maybe > 6 months). I'm on linux x86_64, GDB 7.8
>>>
>>> If I send to GDB "break _d_assert" it will break correctly on 
>>> "assert(false);" so I can jump over. But the equivalent for 
>>> _d_throwc doesn't work anymore !
>>>
>>> Any idea ?
>>
>> How about _d_throw_exception ?
>
> Yes, thx much, this symbol works.
>
> Do you know what 's happened to _d_throw_c (it's still in 
> druntime) ? I remember that Walter changed some stuff to EH but 
> IIRC it's was only related to C++.

strangely enough:

https://github.com/dlang/druntime/search?utf8=%E2%9C%93&q=_d_throw_exception


More information about the Digitalmars-d-learn mailing list