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


mec> I proofread it.  I also tested it on native i686-pc-linux-gnu,
mec> which is a no-adjust platform ($eip points after the breakpoint).

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

Gah.  I knew that!  Let me retry:

native i686-pc-linux-gnu has $eip pointing after the breakpoint,
so I threw in "set $pc [expr $pc - 1]" to make it look like the
program counter was pointing at the breakpoint instruction.


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