[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 01/02] fix issue where a branch to pc+4 confuses
From: |
Steven Seeger |
Subject: |
Re: [Qemu-devel] [PATCH 01/02] fix issue where a branch to pc+4 confuses GDB because pc and npc are set to the same value |
Date: |
Thu, 15 Feb 2018 16:06:03 -0500 |
Oh, let me also add that this assertion fails in gdb:
Thread 1 hit Breakpoint 3, 0x40f102d8 in ?? ()
(gdb) si
./../../src/gdb-8.1/gdb/sparc-tdep.c:1737: internal-error: std::vector<long
unsigned int> sparc_software_single_step(regcache*): Assertion
`nnpc != npc || orig_npc == 0' failed.
I had this assertion commented out so when I unrolled my patch to repeat the
test in order to write my previous reply to you, I saw it be stuck on the same
instruction rather than fail this assertion.
I guess this could be a gdb bug, too.
Steven