working around batch mode command errors

Jan Kratochvil jan.kratochvil@redhat.com
Tue Oct 30 17:27:00 GMT 2012


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



More information about the Gdb mailing list