qemu-arm
[Top][All Lists]
Advanced

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

Re: [Qemu-arm] [Qemu-devel] [PATCH v3 5/7] tests/guest-debug: don't use


From: Richard Henderson
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH v3 5/7] tests/guest-debug: don't use symbol resolution for PC checks
Date: Sun, 11 Nov 2018 14:58:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

On 11/9/18 4:21 PM, Alex Bennée wrote:
> It turns out symbol resolution isn't enough as modern kernels are
> often padded with check code at the start of functions. GDB seems to
> put the breakpoint at the first non-check instruction which causes
> comparisons with the symbol resolution to fail.

If you want breakpoints at a fixed location, use "*symbol", which will disable
gdb's prologue checking.


r~



reply via email to

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