summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-21 12:11:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:53 -0500
commita369f0ecaf35fb49652873c4c1ddcaf28629c26e (patch)
tree1a7336cb6826733d19fc5744e753c558a8ba9148 /source4/lib/cmdline
parentf8c1258d01fa631b719579e186b28027a34887cf (diff)
downloadsamba-a369f0ecaf35fb49652873c4c1ddcaf28629c26e.tar.gz
samba-a369f0ecaf35fb49652873c4c1ddcaf28629c26e.tar.bz2
samba-a369f0ecaf35fb49652873c4c1ddcaf28629c26e.zip
r8678: setup for gdb backtrace in 'make test'
(This used to be commit acf8c8fd4995acef47390df5a7d4e611c597367d)
Diffstat (limited to 'source4/lib/cmdline')
-rw-r--r--source4/lib/cmdline/popt_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index e39c8e964d..53bb7b5a8c 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -48,6 +48,9 @@ static void popt_common_callback(poptContext con,
const char *arg, const void *data)
{
const char *pname;
+
+ /* setup for panics */
+ fault_setup(poptGetInvocationName(con));
if (reason == POPT_CALLBACK_REASON_POST) {
/* Hook any 'every Samba program must do this, after