From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Christian Ullrich <chris(at)chrullrich(dot)net> |
Cc: | pgbuildfarm-members(at)pgfoundry(dot)org |
Subject: | Re: [Pgbuildfarm-members] Running gdb on core files |
Date: | 2013-06-14 14:23:46 |
Message-ID: | 51BB2772.1070607@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | buildfarm-members |
On 06/14/2013 04:27 AM, Christian Ullrich wrote:
> run_build.pl calls gdb on detected cores as:
>
> gdb -ex bt --batch $bindir/postgres $core
>
> The -ex option was added in gdb 6.4, released in 2005. One might
> assume that was long enough ago, but, alas, FreeBSD's system gdb is
> still version 6.1.1 (for GPLv3 reasons apparently, and there is a 7.6
> in ports). Interestingly enough, gdb 6.1.1 accepts the current command
> line without complaint -- but also without result.
>
> The attached patch replaces -ex with -x and writes a command file for
> it to read.
>
> Alternatively, run_build.pl could check the gdb version, and if it
> encounters anything before 6.4, just print a notice that there is no
> backtrace.
>
>
Thanks,
this and your other patch have been included in the latest release with
slight changes.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-07-29 05:05:42 | Bison 3.0 updates |
Previous Message | Andrew Dunstan | 2013-06-14 14:22:23 | Buildfarm client 4.11 released |