This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Testsuite improvements for non-decr_pc_after_break i386


On Sun, Aug 15, 2004 at 03:04:10AM -0400, Michael Chastain wrote:
> This patch is approved.
> 
> I proofread it.  I also tested it on native i686-pc-linux-gnu,
> which is a no-adjust platform ($eip points after the breakpoint).
> I turned it into an adjust platform with this:
> 
>     gdb_test "set \$pc = \$pc - 1" "" "decr pc"
> 
> ... and the logic works.

FYI, you've got the nomenclature backwards - adjust-pc-after-break
means "GDB must adjust the PC after break to figure out where the
breakpoint was".

-- 
Daniel Jacobowitz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]