qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] Enabling Debugging?


From: Jd Lyons
Subject: Re: [Qemu-ppc] Enabling Debugging?
Date: Tue, 31 Jan 2017 12:58:29 -0500

Finally got gdb to run, you don’t want to ask what you have to do on MacOS Sierra to enable gdb, I’m think of giving up the Mac OS if this continues.

Now when I launch qemu-system-ppc and type run, it opens, but hangs before Openbios loads. So, I’m still doing something wrong.

 gdb /Users/jam2/os9/qemu-install/bin/qemu-system-ppc 
GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin16.3.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /Users/jam2/os9/qemu-install/bin/qemu-system-ppc...done.
(gdb) run -bios /Users/jam2/Downloads/qemu-scr-vga-sun-sdl28012016/openbios-qemu-scr-sunM.elf -cdrom /Users/jam2/Downloads/MacOSXServer1.2v3.img -hda /Users/jam2/Documents/1G_BLANK_MACOSX_DP1_DISK_IMAGE.img -M mac99 -cpu G4 -prom-env 'boot-args=-v rd=hd0' -prom-env 'boot-device=hd:2,\\:tbx'
Starting program: /Users/jam2/os9/qemu-install/bin/qemu-system-ppc -bios /Users/jam2/Downloads/qemu-scr-vga-sun-sdl28012016/openbios-qemu-scr-sunM.elf -cdrom /Users/jam2/Downloads/MacOSXServer1.2v3.img -hda /Users/jam2/Documents/1G_BLANK_MACOSX_DP1_DISK_IMAGE.img -M mac99 -cpu G4 -prom-env 'boot-args=-v rd=hd0' -prom-env 'boot-device=hd:2,\\:tbx'
[New Thread 0x1403 of process 793]
warning: unhandled dyld version (15)
[New Thread 0x1207 of process 793]
[New Thread 0x1503 of process 793]
[New Thread 0x1603 of process 793]
[New Thread 0x1703 of process 793]
[New Thread 0x1803 of process 793]
[New Thread 0x1903 of process 793]

Thread 2 received signal SIGUSR2, User defined signal 2.
0x00007fffa3e1f262 in ?? ()
(gdb)  

Do I need to set a breakpoint?

I’ve never had this much trouble running gdb, even tho I don’t really know what I’m doing, I can usually find the offending code that is making the program I’m trying to debug hang, or crash.

Any help would be appreciated.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]