First run (on gdb) just after compilation fails

Mark Wielaard mark at klomp.org
Fri Aug 9 03:06:17 PDT 2013


On Fri, 2013-08-09 at 07:47 +0200, Miklos Vajna wrote:
> On Thu, Aug 08, 2013 at 09:36:50PM -0300, Wagner Macedo <wagnerluis1982 at gmail.com> wrote:
> > Why first run (in gdb console), just after compilation always fails?
> > From second onwards, no problems.
> > 
> > I'm entering in gdb calling "make debugrun".
> 
> This is known. If you run install/opt/program/soffice, it may restart
> itself on the "first run". make debugrun has to invoke
> install/opt/program/soffice.bin directly, which may be invoked two times
> by soffice.
> 
> The only way around that is just run soffice (and not soffice.bin via
> gdb) after you pulled and did a toplevel make

You should also be able to just type "run" in gdb again after the first
run exits and it should do the right thing (it seems to do so for me).

Cheers,

Mark



More information about the LibreOffice mailing list