public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: First Last <nvk4444@yahoo.com>
Cc: gdb@sourceware.org
Subject: Re: String argument within a gdb command file
Date: Wed, 11 Jan 2012 14:32:00 -0000	[thread overview]
Message-ID: <m31ur69uoe.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1326265021.51242.YahooMailClassic@web120402.mail.ne1.yahoo.com>	(First Last's message of "Tue, 10 Jan 2012 22:57:01 -0800 (PST)")

>>>>> "NK" == First Last <nvk4444@yahoo.com> writes:

NK> I am trying to use add-symbol-file with arguments within a gdb command file.
NK> add-symbol-file $filename $load_addr
NK> I found that the $filename is not evaluated

NK> Any suggestions?

You can use 'eval', or Python scripting.

Tom

  reply	other threads:[~2012-01-11 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  6:57 First Last
2012-01-11 14:32 ` Tom Tromey [this message]
2012-01-11 19:21 ` First Last

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=m31ur69uoe.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=nvk4444@yahoo.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).