|
From: | Richard Henderson |
Subject: | Re: [PATCH for-7.1 1/5] target/loongarch: Fix GDB get the wrong pc |
Date: | Thu, 4 Aug 2022 08:56:23 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 8/4/22 06:02, Song Gao wrote:
+ /* orig_a0 */ + return gdb_get_regl(mem_buf, env->gpr[4]);
There is no rational value to provide for orig_a0, because this is only related to the linux kernel. I understand that you need to enumerate the register so that pc gets number 35, but you might as well simply provide zero for this value. r~
[Prev in Thread] | Current Thread | [Next in Thread] |