From: Mahmood Naderan <nt_mahmood@yahoo.com>
To: Martin Simmons <qqxnjvamvxwx@dyxyl.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: How to check if .gdbinit macros have been loaded?
Date: Thu, 12 Aug 2021 17:32:21 +0000 (UTC) [thread overview]
Message-ID: <169625866.1171978.1628789541071@mail.yahoo.com> (raw)
In-Reply-To: <je8s161z8u.fsf@dyxyl.com>
>
>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
prev parent reply other threads:[~2021-08-12 17:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <526939713.188425.1628429312671.ref@mail.yahoo.com>
2021-08-08 13:28 ` Mahmood Naderan
2021-08-09 14:31 ` Martin Simmons
2021-08-11 14:09 ` Mahmood Naderan
2021-08-12 15:03 ` Martin Simmons
2021-08-12 17:32 ` Mahmood Naderan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=169625866.1171978.1628789541071@mail.yahoo.com \
--to=nt_mahmood@yahoo.com \
--cc=gdb@sourceware.org \
--cc=qqxnjvamvxwx@dyxyl.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).