1132332Smarcel/* 2132332Smarcel * Copyright (c) 2004 Marcel Moolenaar 3132332Smarcel * All rights reserved. 4132332Smarcel * 5132332Smarcel * Redistribution and use in source and binary forms, with or without 6132332Smarcel * modification, are permitted provided that the following conditions 7132332Smarcel * are met: 8132332Smarcel * 9132332Smarcel * 1. Redistributions of source code must retain the above copyright 10132332Smarcel * notice, this list of conditions and the following disclaimer. 11132332Smarcel * 2. Redistributions in binary form must reproduce the above copyright 12132332Smarcel * notice, this list of conditions and the following disclaimer in the 13132332Smarcel * documentation and/or other materials provided with the distribution. 14132332Smarcel * 15132332Smarcel * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16132332Smarcel * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17132332Smarcel * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18132332Smarcel * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19132332Smarcel * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20132332Smarcel * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21132332Smarcel * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22132332Smarcel * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23132332Smarcel * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24132332Smarcel * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25132332Smarcel */ 26132332Smarcel 27132332Smarcel#include <sys/cdefs.h> 28132332Smarcel__FBSDID("$FreeBSD$"); 29132332Smarcel 30132360Smarcel#include <sys/procfs.h> 31181059Smarcel#include <thread_db.h> 32132360Smarcel#include <ucontext.h> 33132352Sscottl 34181059Smarcel#include "libpthread_db.h" 35181059Smarcel 36132332Smarcelvoid 37181341Smarcelpt_reg_to_ucontext(const struct reg *r __unused, ucontext_t *uc __unused) 38132332Smarcel{ 39132332Smarcel} 40132332Smarcel 41132332Smarcelvoid 42181341Smarcelpt_ucontext_to_reg(const ucontext_t *uc __unused, struct reg *r __unused) 43132332Smarcel{ 44132332Smarcel} 45132332Smarcel 46132332Smarcelvoid 47181341Smarcelpt_fpreg_to_ucontext(const struct fpreg* r __unused, ucontext_t *uc __unused) 48132332Smarcel{ 49132332Smarcel} 50132332Smarcel 51132332Smarcelvoid 52181341Smarcelpt_ucontext_to_fpreg(const ucontext_t *uc __unused, struct fpreg *r __unused) 53132332Smarcel{ 54132332Smarcel} 55132332Smarcel 56132332Smarcelvoid 57132332Smarcelpt_md_init(void) 58132332Smarcel{ 59132332Smarcel} 60132332Smarcel 61132332Smarcelint 62181341Smarcelpt_reg_sstep(struct reg *reg __unused, int step __unused) 63132332Smarcel{ 64132332Smarcel return (0); 65132332Smarcel} 66