How to check if .gdbinit macros have been loaded?
Mahmood Naderan
nt_mahmood@yahoo.com
Thu Aug 12 17:32:21 GMT 2021
>
>Was it actually SIGABRT that stopped the program initially, rather than
>segmentation fault?
Yes that is SIGABRT rather than segmentation fault because the program hits an assertion error. I mistakenly wrote that as segfault.
>The segmentation fault message says this=0x0, which probably causes it.
>The value of "this" comes from gdb's evaluation of
>GPGPU_Context()->the_gpgpusim->g_the_gpu so maybe that is NULL at that
>point in the program?
Is there any way to debug more.
In fact I want to use the .gdbinit macro to debug my program. Now I have to find a way to debug the .gdbinit itself :)
Regards,
Mahmood
More information about the Gdb
mailing list