Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #91127
| From | scott@slp53.sl.home (Scott Lurndal) |
|---|---|
| Subject | Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler |
| Newsgroups | comp.lang.c++ |
| References | <74f0d07f-b1cd-42df-bf6d-fb0c701b3165n@googlegroups.com> <a7da72af-5843-4d9b-8ce9-48c191837489n@googlegroups.com> <7zetM.60816$ayP.7688@fx38.iad> <31214979-b8ee-4bc9-b611-3cf9adb1dc76n@googlegroups.com> |
| Message-ID | <ecftM.18951$gAL.18223@fx01.iad> (permalink) |
| Organization | UsenetServer - www.usenetserver.com |
| Date | 2023-07-17 17:51 +0000 |
Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> writes: >On Monday, July 17, 2023 at 6:07:33=E2=80=AFPM UTC+1, Scott Lurndal wrote: >> >> Execute your application using gdb, then when it faults, examine=20 >> the faulting instruction:=20 >>=20 >> (gdb) x/i $pc=20 >>=20 >> Then look at the registers:=20 >>=20 >> (gdb) info reg=20 >>=20 >> The cause of the fault should be evident from that data. > > >My laptop has an x86_64 CPU. I'm using a cross-compiler and then running th= >e executable in a CPU emulator. Hence can't debug. My day job is writing SoC emulators for AAarch64 CPUs. The emulator has the same debug capabilities as any application debugger - breakpoints, instruction disassembly, register and memory access. I've never encountered an emulator (AMD's SimNow!, various in-house proprietary emulators, Imperas ARM emulators, Synopsys Virtualizer, QEMU) which didn't offer such capabilities as key features. Given that we boot Linux on our emulator, running gdb itself under linux on the emulator is another option.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-07-17 07:24 -0700
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Bonita Montero <Bonita.Montero@gmail.com> - 2023-07-17 17:27 +0200
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-07-17 09:13 -0700
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Bonita Montero <Bonita.Montero@gmail.com> - 2023-07-17 18:21 +0200
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-07-17 11:30 -0700
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler scott@slp53.sl.home (Scott Lurndal) - 2023-07-17 16:25 +0000
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-07-17 10:00 -0700
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler scott@slp53.sl.home (Scott Lurndal) - 2023-07-17 17:07 +0000
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-07-17 10:31 -0700
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler scott@slp53.sl.home (Scott Lurndal) - 2023-07-17 17:51 +0000
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Bonita Montero <Bonita.Montero@gmail.com> - 2023-07-17 19:55 +0200
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-07-17 11:34 -0700
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-07-18 01:34 -0700
Re: aarch64 - 64-Bit ARM - return by value - GNU g++ inline assembler Frederick Virchanza Gotham <cauldwell.thomas@gmail.com> - 2023-07-18 03:55 -0700
csiph-web