This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: working around batch mode command errors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]