remote_gdb.hh revision 5254
13963Sgblack@eecs.umich.edu/* 25254Sksewell@umich.edu * Copyright (c) 2007 The Regents of The University of Michigan 35254Sksewell@umich.edu * All rights reserved. 43963Sgblack@eecs.umich.edu * 55254Sksewell@umich.edu * Redistribution and use in source and binary forms, with or without 65254Sksewell@umich.edu * modification, are permitted provided that the following conditions are 75254Sksewell@umich.edu * met: redistributions of source code must retain the above copyright 85254Sksewell@umich.edu * notice, this list of conditions and the following disclaimer; 95254Sksewell@umich.edu * redistributions in binary form must reproduce the above copyright 105254Sksewell@umich.edu * notice, this list of conditions and the following disclaimer in the 115254Sksewell@umich.edu * documentation and/or other materials provided with the distribution; 125254Sksewell@umich.edu * neither the name of the copyright holders nor the names of its 135254Sksewell@umich.edu * contributors may be used to endorse or promote products derived from 145254Sksewell@umich.edu * this software without specific prior written permission. 153963Sgblack@eecs.umich.edu * 165254Sksewell@umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 175254Sksewell@umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 185254Sksewell@umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 195254Sksewell@umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 205254Sksewell@umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 215254Sksewell@umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 225254Sksewell@umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 235254Sksewell@umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 245254Sksewell@umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 255254Sksewell@umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 265254Sksewell@umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 273963Sgblack@eecs.umich.edu * 285254Sksewell@umich.edu * Authors: Nathan Binkert 293963Sgblack@eecs.umich.edu */ 303963Sgblack@eecs.umich.edu 313963Sgblack@eecs.umich.edu#ifndef __ARCH_MIPS_REMOTE_GDB_HH__ 323963Sgblack@eecs.umich.edu#define __ARCH_MIPS_REMOTE_GDB_HH__ 333963Sgblack@eecs.umich.edu 343963Sgblack@eecs.umich.edu#include "base/remote_gdb.hh" 353963Sgblack@eecs.umich.edu 363963Sgblack@eecs.umich.edunamespace MipsISA 373963Sgblack@eecs.umich.edu{ 383963Sgblack@eecs.umich.edu class RemoteGDB : public BaseRemoteGDB 393963Sgblack@eecs.umich.edu { 403963Sgblack@eecs.umich.edu public: 413963Sgblack@eecs.umich.edu //These needs to be written to suit MIPS 423963Sgblack@eecs.umich.edu 433963Sgblack@eecs.umich.edu RemoteGDB(System *system, ThreadContext *context) 443963Sgblack@eecs.umich.edu : BaseRemoteGDB(system, context, 1) 453963Sgblack@eecs.umich.edu {} 463963Sgblack@eecs.umich.edu 473963Sgblack@eecs.umich.edu bool acc(Addr, size_t) 483963Sgblack@eecs.umich.edu { panic("acc not implemented for MIPS!"); } 493963Sgblack@eecs.umich.edu 503963Sgblack@eecs.umich.edu void getregs() 513963Sgblack@eecs.umich.edu { panic("getregs not implemented for MIPS!"); } 523963Sgblack@eecs.umich.edu 533963Sgblack@eecs.umich.edu void setregs() 543963Sgblack@eecs.umich.edu { panic("setregs not implemented for MIPS!"); } 553963Sgblack@eecs.umich.edu 563963Sgblack@eecs.umich.edu void clearSingleStep() 573963Sgblack@eecs.umich.edu { panic("clearSingleStep not implemented for MIPS!"); } 583963Sgblack@eecs.umich.edu 593963Sgblack@eecs.umich.edu void setSingleStep() 603963Sgblack@eecs.umich.edu { panic("setSingleStep not implemented for MIPS!"); } 613963Sgblack@eecs.umich.edu }; 623963Sgblack@eecs.umich.edu} 633963Sgblack@eecs.umich.edu 643963Sgblack@eecs.umich.edu#endif /* __ARCH_ALPHA_REMOTE_GDB_H__ */ 65