public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: "Maucci, Cyrille" <cyrille.maucci@hp.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: working around batch mode command errors
Date: Tue, 30 Oct 2012 17:27:00 -0000	[thread overview]
Message-ID: <20121030172659.GA12790@host2.jankratochvil.net> (raw)
In-Reply-To: <7D0928B9A8397D4B9E2F9E5FFFB8D860027BED37@G6W2492.americas.hpqcorp.net>

On Sun, 28 Oct 2012 23:28:32 +0100, Maucci, Cyrille wrote:
> Error in sourced command file:
> No symbol "this" in current context.
> 
> And therefore all subsequent commands are not executed.

Use:
	gdb <file
instead of
	gdb -x file


> An aside question would be is there any built-in commands allowing to do
> something like

Use ABRT or Apport which hook globally on system via
/proc/sys/kernel/core_pattern . You can also provide per-application custom
info dumpers.


Regards,
Jan

  reply	other threads:[~2012-10-30 17:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 22:28 Maucci, Cyrille
2012-10-30 17:27 ` Jan Kratochvil [this message]
2012-10-30 17:39 ` Pedro Alves
2012-10-30 17:43   ` Tom Tromey
2012-11-01 20:30     ` Doug Evans
2012-11-01 20:38       ` Tom Tromey

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=20121030172659.GA12790@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=cyrille.maucci@hp.com \
    --cc=gdb@sourceware.org \
    /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).