From: Matthew Reppert <repp0017@tc.umn.edu>
To: Andre Tomt <andre@tomt.net>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>,
linux-kernel@vger.kernel.org
Subject: Disassembling with gdb (Re: Linux 2.6.3-rc1)
Date: Sun, 08 Feb 2004 19:53:51 -0600 [thread overview]
Message-ID: <1076291631.545.7001.camel@minerva> (raw)
In-Reply-To: <4026B064.5080900@tomt.net>
[-- Attachment #1: Type: text/plain, Size: 963 bytes --]
On Sun, 2004-02-08 at 15:55, Andre Tomt wrote:
> Bartlomiej Zolnierkiewicz wrote:
> >>Unable to handle kernel virtual paging request at virtual address
> 24748b24
> >>
> >>EIP is at ide_pci_register_host_proc+0x27/0x40 [ide_core]
> >
> >
> > Can you disassemble ide_pci_register_host_proc using gdb?
>
> I'd need a walkthrough, not very familiar with gdb other than getting a
> backtrace out of it
- Go to the directory you compiled the kernel in
- do: gdb vmlinux
- you're in gdb, now do: 'x/i ide_pci_register_host_proc' This will
disassemble starting at ide_pci_register_host_proc, and needs (I
believe) debugging symbols present ... well, try it, and if gdb
complains that it can't, that's that
- Keep entering "x/i"; this will make gdb keep disassembling the next
instruction. Keep doing this until you're past
<ide_pci_register_host_proc+0x27>, I assume.
- to get out of gdb, hit ^D or type "quit"
Matt
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-02-09 1:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-07 2:28 Linux 2.6.3-rc1 Linus Torvalds
2004-02-07 2:56 ` viro
2004-02-07 17:21 ` Kevin O'Connor
2004-02-07 19:20 ` Greg KH
2004-02-07 3:11 ` Måns Rullgård
2004-02-07 5:26 ` Greg KH
2004-02-07 10:24 ` Andre Tomt
2004-02-07 16:22 ` Bartlomiej Zolnierkiewicz
2004-02-08 6:02 ` Andre Tomt
2004-02-08 6:29 ` Andre Tomt
2004-02-08 21:34 ` Bartlomiej Zolnierkiewicz
2004-02-08 21:55 ` Andre Tomt
2004-02-08 22:51 ` Bartlomiej Zolnierkiewicz
2004-02-09 0:08 ` Andre Tomt
2004-02-09 1:34 ` Bartlomiej Zolnierkiewicz
2004-02-09 2:40 ` Andre Tomt
2004-02-09 12:41 ` Arkadiusz Miskiewicz
2004-02-09 14:41 ` Bartlomiej Zolnierkiewicz
2004-02-09 13:01 ` Bartlomiej Zolnierkiewicz
2004-02-09 1:53 ` Matthew Reppert [this message]
2004-02-08 15:18 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1076291631.545.7001.camel@minerva \
--to=repp0017@tc.umn.edu \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=andre@tomt.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox