[Qemu-discuss] How to detect old arch?

2015-09-15 Thread Mohsen Pahlevanzadeh
Dear All, I have an ISO fromat via dd from an old scsi unix: // dd if=/dev/hdc of=./all_files.iso // I have the following information from my iso: /// parted ./all_of_disk.iso pri

Re: [Qemu-discuss] How to detect old arch?

2015-09-15 Thread Peter Maydell
On 15 September 2015 at 12:47, Mohsen Pahlevanzadeh wrote: > Dear All, > > I have an ISO fromat via dd from an old scsi unix: > // > dd if=/dev/hdc of=./all_files.iso > // > I have the following information from my iso: >

Re: [Qemu-discuss] How to detect old arch?

2015-09-15 Thread Mohsen Pahlevanzadeh
On 09/15/2015 06:06 PM, Peter Maydell wrote: On 15 September 2015 at 12:47, Mohsen Pahlevanzadeh wrote: Dear All, I have an ISO fromat via dd from an old scsi unix: // dd if=/dev/hdc of=./all_files.iso

Re: [Qemu-discuss] How to detect old arch?

2015-09-15 Thread Jakob Bohm
On 15/09/2015 13:47, Mohsen Pahlevanzadeh wrote: Dear All, I have an ISO fromat via dd from an old scsi unix: // dd if=/dev/hdc of=./all_files.iso // I have the following information from my iso: /// parted ./all_of_disk

[Qemu-discuss] Singlestepping & Target assembly instructions

2015-09-15 Thread Scott Dattalo
Back in 2012, Manu asked: I'm using QEmu to debug an ARM target (OS-less code). I searched/googled for help on how to trace all instructions executed on the target CPU. Using -singlestep and -d in_asm option switches generate the data I'm looking for, however as the translation blocks are cac

Re: [Qemu-discuss] Singlestepping & Target assembly instructions

2015-09-15 Thread Peter Maydell
On 15 September 2015 at 19:38, Scott Dattalo wrote: > The answer provided doesn't work (at least with the latest QEmu in git). > Specifically, it appears that once a TB has been cached there is no way to > trace instruction execution. Similar to Manu, I invoke QEmu with '-D > trace.log -d in_asm,c

Re: [Qemu-discuss] Singlestepping & Target assembly instructions

2015-09-15 Thread Scott Dattalo
On 9/15/2015 12:30 PM, Peter Maydell wrote: On 15 September 2015 at 19:38, Scott Dattalo wrote: Question: how can you tell QEmu to create an instruction trace? You can't, to a first approximation. QEMU's debug logging is aimed more at telling you what QEMU has done than providing detailed in

Re: [Qemu-discuss] Singlestepping & Target assembly instructions

2015-09-15 Thread Peter Maydell
On 15 September 2015 at 21:51, Scott Dattalo wrote: > > > On 9/15/2015 12:30 PM, Peter Maydell wrote: >> >> On 15 September 2015 at 19:38, Scott Dattalo >> wrote: >>> >>> Question: how can you tell QEmu to create an instruction trace? >> >> You can't, to a first approximation. QEMU's debug loggin

Re: [Qemu-discuss] Singlestepping & Target assembly instructions

2015-09-15 Thread Scott Dattalo
On 9/15/2015 2:23 PM, Peter Maydell wrote: On 15 September 2015 at 21:51, Scott Dattalo wrote: I think there is a fork produce by Cedric Vincent: https://github.com/cedric-vincent/qemu/tree/master/tcg/plugins The idea is to allow the TCI to be instrumented with scripts. The QEmu source in g

Re: [Qemu-discuss] How to detect old arch?

2015-09-15 Thread Dale R. Worley
Peter Maydell writes: >> I have an ISO fromat via dd from an old scsi unix: >> // >> dd if=/dev/hdc of=./all_files.iso >> I think it's sysv unix. How can I detedct its' arch via qemu? > > I would start off by running strings on the iso image, to see if > there's any helpful

Re: [Qemu-discuss] How to detect old arch?

2015-09-15 Thread Jakob Bohm
On 16/09/2015 05:30, Dale R. Worley wrote: Peter Maydell writes: I have an ISO fromat via dd from an old scsi unix: // dd if=/dev/hdc of=./all_files.iso I think it's sysv unix. How can I detedct its' arch via qemu? I would start off by running strings on the iso image,