Date: Wed, 30 Jul 2014 13:57:40 -0400 (EDT) From: Benjamin Kaduk <bjk@freebsd.org> To: Nidal Khalil <nedmath@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: freebsd-hackers Digest, Vol 588, Issue 1 Message-ID: <alpine.GSO.1.10.1407301347080.21571@multics.mit.edu> In-Reply-To: <CADoY-6g9%2BriVTFDu-p7FhQ=ogWWHhp9mF8EAh0v94oLJX3zqnA@mail.gmail.com> References: <mailman.7.1406030400.87390.freebsd-hackers@freebsd.org> <CADoY-6jDa-nD9w6jLUuUttjNgEbV0eJAu2Hm9AvFvAWm6Y9ASg@mail.gmail.com> <CADoY-6i5jytJswq9Ck3cir0YOLt62CKPdmMz=nSDCNQre6tGbg@mail.gmail.com> <alpine.GSO.1.10.1407222136380.21571@multics.mit.edu> <CADoY-6jy5khBRrkw8mw5fG1OnpvNYqf=-4YkkFhhR2zOb-pkdQ@mail.gmail.com> <alpine.GSO.1.10.1407231055190.21571@multics.mit.edu> <CADoY-6jAzwYx5H3JciReFv01W1eGd6phqDv-uLq7pEGiD%2B-gFQ@mail.gmail.com> <alpine.GSO.1.10.1407292022230.21571@multics.mit.edu> <CADoY-6g9%2BriVTFDu-p7FhQ=ogWWHhp9mF8EAh0v94oLJX3zqnA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Jul 2014, Nidal Khalil wrote: > Yeah. This is the doc. > Kgdb works for bt only, info locals results in no symbols found. kgdb works great on crash dumps for me. My kernels are compiled using "makeoptions DEBUG=-g", and sometimes with -O0. I would have to check, but suspect that the kernels for some releases do not have the debug symbols enabled. > In regards to gdb the -k option doesn't work. It results in unknown option. Our kgdb is customized to work with FreeBSD kernel dumps; stock gdb isn't really going to work. > With out it it doesn't understand the vmcore file format. > Debugging tools are broken for release 9.2 and release 9.3 with the > exception of ddb. > The documentation is incorrect and doesn't match the new releases. I think you will need to provide a more detailed pointer to what precise documentation steps you think are incorrect, and (copy/paste of) the actual behavior you are seeing, in order for us to try to reproduce it. As I say, kgdb works fine in my usage. > Nidal > On Jul 29, 2014 5:23 PM, "Benjamin Kaduk" <bjk@freebsd.org> wrote: > >> You did not heed my note about public lists. >> You did not link to what documentation you believe is incorrect. >> You might consult http://www.freebsd.org/doc/en_ >> US.ISO8859-1/books/developers-handbook/kerneldebug-gdb.html >> >> On Tue, 29 Jul 2014, Nidal Khalil wrote: >> >> The documentation for gdb is not correct? >>> >>> I am trying to use gdb to analyze a kernel crash. However the -k is >>> recognized. This is version 6.1.1 that came with the installation. >>> Using it without -k it will not understand the vmcore file format >>> do I need a different gdb. Thanks >>> >>> Nidal >>> >>> >>> >>> On Wed, Jul 23, 2014 at 7:56 AM, Benjamin Kaduk <bjk@freebsd.org> wrote: >>> >>> On Wed, 23 Jul 2014, Nidal Khalil wrote: >>>> >>>> I have no interest in firewire. How can I do this over Ethernet. The >>>> >>>>> documentation is a little bit vague in this area. Thanks I don't believe that remote debugging over ethernet has been implemented yet, though I do remember some talk about interest and/or the beginning of a project, years ago. -Ben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.1.10.1407301347080.21571>