From: Antony Pavlov <antonynpavlov@gmail.com>
To: Maryyam Muhammad Din <maryyam35@gmail.com>
Cc: awaheed777@yahoo.com, qemu-devel@nongnu.org, qemu-discuss@nongnu.org
Subject: Re: [Qemu-devel] Debugging bootloader with gdb in qemu
Date: Wed, 1 Jan 2014 13:27:50 +0400 [thread overview]
Message-ID: <20140101132750.9264d75d31c0af009776dc37@gmail.com> (raw)
In-Reply-To: <CAGvb7R0e_wqb1iaktOnsJ-v-sFTrrFWcOvBicD+Wz1HFyz7b8w@mail.gmail.com>
On Wed, 1 Jan 2014 12:55:38 +0500
Maryyam Muhammad Din <maryyam35@gmail.com> wrote:
> I am trying to debug bootloader with gdb in QEMU. I run QEMU command like
> this
>
> ./qemu-system-mips64 -s -S -m 1024 -M octeon -bios
> u-boot-octeon_ebh5610.bin -kernel vmlinux.64 -append 'coremask=001 mem=0
> root=/dev/sda2'
>
> and then connect gdb using
>
> mips64-octeon-linux-gnu-gdb u-boot-octeon_ebh5610
> target remote localhost:1234
>
> when i try to step into bootloader code, it continues execution without
> breaking. This totally skip the bootloader code which i want to examine
> step by step as it execute.
> Can anyone suggest, what do i need to do to resolve this issue.
See this screencast:
http://dir.tftpd.net:7080/~antony/mips-barebox-qemu-gdb-howto-20131219.avi
This screencast will show you how to trace bootloader (barebox, http://www.barebox.org)
for MIPS malta using qemu and gdb.
> Thank You
> --
> Maryyam Muhammad Din
> Al-Khawarizmi Institute of Computer Science
> UET Lahore
--
--
Best regards,
Antony Pavlov
prev parent reply other threads:[~2014-01-01 9:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-01 7:55 [Qemu-devel] Debugging bootloader with gdb in qemu Maryyam Muhammad Din
2014-01-01 9:27 ` Antony Pavlov [this message]
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=20140101132750.9264d75d31c0af009776dc37@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=awaheed777@yahoo.com \
--cc=maryyam35@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-discuss@nongnu.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;
as well as URLs for NNTP newsgroup(s).