Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2004 09:24:14 +0200
From:      Philip Paeps <philip@freebsd.org>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-current@freebsd.org
Subject:   Re: GDB broken?
Message-ID:  <20040416072414.GJ688@loge.nixsys.be>
In-Reply-To: <200404161447.29595.doconnor@gsoft.com.au>
References:  <200404161447.29595.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-04-16 14:47:29 (+0930), Daniel O'Connor <doconnor@gsoft.com.au> wrote:
> I was helping someone test patches in -current and got a crash dump, but GDB
> doesn't like reading it..

I've also seen this happen a few times in the past.

> [inchoate 14:45] /var/crash >sudo gdb -k /boot/kernel/kernel /var/crash/vmcore.1
> GNU gdb 5.2.1 (FreeBSD)

Did you make that core by calling doadump, or by calling panic in the
debugger?  I found that GDB will happily eat plain panic cores, but doesn't
appear to like doadump cores.  I've only tested with two corefiles though, so
I might be wrong.  Anyone else care to test?

 - Philip

-- 
Philip Paeps                                    Please don't CC me, I am
                                                 subscribed to the list.

  BOFH Excuse #119:
    evil hackers from Serbia.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040416072414.GJ688>