Chinaunix

标题: step into and step over do same thing in AG_GoStep in apntex_173 [打印本页]

作者: shenxiaocheng    时间: 2010-01-24 14:41
标题: step into and step over do same thing in AG_GoStep in apntex_173
i am writing a AGDI Driver for the uVision Debugger base on apntex_173.
my chip is using Cortex-M0, many functions (r/w registers, r/w memory, start/stop debug session, run, run to cursor line, step out of current function, breakpoint and so on) have realized. only one thing makes me confused, as follow:
i compile a project and then debug it, when arrive a subroutine, F10 and F11(step and step over) do same thing, they both go into subrountine, F10 should execute step over but execute step into .

i track souce, when F10 and F11, they both go into AG_GoStep, parameters nCode is 2, nSteps always is 1(only execute a step), F10 should execute n step. Somebody can give me some advice?

Thans a lot!!!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2