Re: [RFA] Nullified garbage-collected global variables

Jerome Guitton
2010-07-20T15:44:11Z

Jerome Guitton (guitton@adacore.com):

> Well, that sounded unlikely; then I double-checked, and experimental
> results rejected my assumption. e.g. my example without --readnow:
>
> (gdb) p my_global_symbol
> No symbol "my_global_symbol" in current context.
>
> and with --readnow:
>
> (gdb) p my_global_symbol
> Cannot access memory at address 0x0
>
> Thank you for catching that. I'll fix my patch.

...and I will add this case in a testcase if/when the patch is accepted.