Subversion Repositories HelenOS

Rev

Rev 3430 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3430 Rev 4391
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup ia32
29
/** @addtogroup amd64
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
Line 43... Line 43...
43
    ASSERT(THREAD);
43
    ASSERT(THREAD);
44
    ASSERT(istate_from_uspace(istate));
44
    ASSERT(istate_from_uspace(istate));
45
 
45
 
46
    (void)istate;
46
    (void)istate;
47
    printf("breakpoint exception\n");
47
    printf("breakpoint exception\n");
48
    udebug_breakpoint_event(istate->eip);
48
    udebug_breakpoint_event(istate_get_pc(istate));
49
}
49
}
50
 
50
 
51
/** Initialize breakpoint handling */
51
/** Initialize breakpoint handling */
52
void breakpoint_init()
52
void breakpoint_init()
53
{
53
{