Re: How to check if .gdbinit macros have been loaded?

Mahmood Naderan via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>
>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.