From: "Aktemur, Tankut Baris" <tankut.baris.aktemur@intel.com>
To: Christian Biesinger <cbiesinger@google.com>,
Nagmat Nazar <nagmat@gmail.com>
Cc: Simon Marchi <simark@simark.ca>,
Reuben Thomas via Gdb <gdb@sourceware.org>
Subject: RE: What are the procedures to use self declared convenience functions in GDB?
Date: Thu, 19 Nov 2020 10:59:17 +0000 [thread overview]
Message-ID: <SN6PR11MB289325C84C572C15BCEFCA0CC4E00@SN6PR11MB2893.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CAPTJ0XFk-TNmkMLVAjNgmbdfeAV6Q0dLfE9zRv+dn+k-iFc9MA@mail.gmail.com>
On Thursday, November 19, 2020 11:39 AM, Christian Biesinger wrote:
> On Thu, Nov 19, 2020 at 9:34 AM Nagmat Nazar via Gdb <gdb@sourceware.org> wrote:
> >
> > Dear Mr. Baris,
> >
> > Thanks for your response, I have added it to Makefile.in as you told me,
> > but it is not functioning. How can I check If it was loaded or not?
>
> Did you verify that it gets installed with the other python files? And
> you are using "import greet" when using it?
>
> Christian
Hi Nagmat,
Assuming you did "make install" first, you can check if the file is installed
by looking at the share/gdb/python/gdb/function/ folder in the install directory.
If you did not "make install" but started gdb from its build directory, you may have
to pass the --data-directory flag. Like this:
$ my-gdb-build-dir/gdb/gdb --data-directory=my-gdb-build-dir/gdb/data-directory
-Baris
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
prev parent reply other threads:[~2020-11-19 10:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-17 9:03 Nagmat Nazar
2020-11-17 14:34 ` Simon Marchi
[not found] ` <CAJnvuZ_UEox9FvcNVS2rUC+=5P8_g=_hLOG13FdQBP-2x_e+pg@mail.gmail.com>
2020-11-18 20:39 ` Simon Marchi
2020-11-19 7:48 ` Aktemur, Tankut Baris
2020-11-19 8:34 ` Nagmat Nazar
2020-11-19 10:39 ` Christian Biesinger
2020-11-19 10:59 ` Aktemur, Tankut Baris [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=SN6PR11MB289325C84C572C15BCEFCA0CC4E00@SN6PR11MB2893.namprd11.prod.outlook.com \
--to=tankut.baris.aktemur@intel.com \
--cc=cbiesinger@google.com \
--cc=gdb@sourceware.org \
--cc=nagmat@gmail.com \
--cc=simark@simark.ca \
/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).