qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Debugging bootloader with gdb in qemu
@ 2014-01-01  7:55 Maryyam Muhammad Din
  2014-01-01  9:27 ` Antony Pavlov
  0 siblings, 1 reply; 2+ messages in thread
From: Maryyam Muhammad Din @ 2014-01-01  7:55 UTC (permalink / raw)
  To: qemu-discuss, qemu-devel; +Cc: awaheed777

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

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.
Thank You
-- 
Maryyam Muhammad Din
Al-Khawarizmi Institute of Computer Science
UET Lahore

[-- Attachment #2: Type: text/html, Size: 1115 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-01  9:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-01  7:55 [Qemu-devel] Debugging bootloader with gdb in qemu Maryyam Muhammad Din
2014-01-01  9:27 ` Antony Pavlov

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).