This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA/i386] pb reading insns if breakpoints still inserted
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 29 Apr 2006 17:20:42 +0300
- Subject: Re: [RFC/RFA/i386] pb reading insns if breakpoints still inserted
- References: <20060428171154.GP17613@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 28 Apr 2006 10:11:54 -0700
> From: Joel Brobecker <brobecker@adacore.com>
>
> The fix that has been suggested is to fix the i386 prologue analyzer
> to handle inserted breakpoints. This is what the new read_insn()
> function does.
Isn't this a general problem, not limited to x86? That is, if there's
a breakpoint inserted in the prologue, wouldn't other prologue
analyzers be fooled?
If this is indeed a general problem, I suggest we fix it in a general
fashion, not for some specific platform.