This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Nullified garbage-collected global variables


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]