remote_gdb.hh revision 5254:c555f8b07345
13520Sgblack@eecs.umich.edu/* 23520Sgblack@eecs.umich.edu * Copyright (c) 2007 The Regents of The University of Michigan 33520Sgblack@eecs.umich.edu * All rights reserved. 43520Sgblack@eecs.umich.edu * 53520Sgblack@eecs.umich.edu * Redistribution and use in source and binary forms, with or without 63520Sgblack@eecs.umich.edu * modification, are permitted provided that the following conditions are 73520Sgblack@eecs.umich.edu * met: redistributions of source code must retain the above copyright 83520Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer; 93520Sgblack@eecs.umich.edu * redistributions in binary form must reproduce the above copyright 103520Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the 113520Sgblack@eecs.umich.edu * documentation and/or other materials provided with the distribution; 123520Sgblack@eecs.umich.edu * neither the name of the copyright holders nor the names of its 133520Sgblack@eecs.umich.edu * contributors may be used to endorse or promote products derived from 143520Sgblack@eecs.umich.edu * this software without specific prior written permission. 153520Sgblack@eecs.umich.edu * 163520Sgblack@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 173520Sgblack@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 183520Sgblack@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 193520Sgblack@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 203520Sgblack@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 213520Sgblack@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 223520Sgblack@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 233520Sgblack@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 243520Sgblack@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 253520Sgblack@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 263520Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 273520Sgblack@eecs.umich.edu * 283520Sgblack@eecs.umich.edu * Authors: Nathan Binkert 293520Sgblack@eecs.umich.edu */ 303520Sgblack@eecs.umich.edu 313520Sgblack@eecs.umich.edu#ifndef __ARCH_MIPS_REMOTE_GDB_HH__ 323520Sgblack@eecs.umich.edu#define __ARCH_MIPS_REMOTE_GDB_HH__ 333520Sgblack@eecs.umich.edu 343520Sgblack@eecs.umich.edu#include "base/remote_gdb.hh" 353520Sgblack@eecs.umich.edu 363520Sgblack@eecs.umich.edunamespace MipsISA 374103Ssaidi@eecs.umich.edu{ 385647Sgblack@eecs.umich.edu class RemoteGDB : public BaseRemoteGDB 393520Sgblack@eecs.umich.edu { 408232Snate@binkert.org public: 418232Snate@binkert.org //These needs to be written to suit MIPS 425647Sgblack@eecs.umich.edu 435647Sgblack@eecs.umich.edu RemoteGDB(System *system, ThreadContext *context) 443520Sgblack@eecs.umich.edu : BaseRemoteGDB(system, context, 1) 455565Snate@binkert.org {} 465565Snate@binkert.org 475647Sgblack@eecs.umich.edu bool acc(Addr, size_t) 483520Sgblack@eecs.umich.edu { panic("acc not implemented for MIPS!"); } 495565Snate@binkert.org 505565Snate@binkert.org void getregs() 515565Snate@binkert.org { panic("getregs not implemented for MIPS!"); } 525565Snate@binkert.org 535810Sgblack@eecs.umich.edu void setregs() 545565Snate@binkert.org { panic("setregs not implemented for MIPS!"); } 555565Snate@binkert.org 565565Snate@binkert.org void clearSingleStep() 575565Snate@binkert.org { panic("clearSingleStep not implemented for MIPS!"); } 585565Snate@binkert.org 595565Snate@binkert.org void setSingleStep() 605647Sgblack@eecs.umich.edu { panic("setSingleStep not implemented for MIPS!"); } 615647Sgblack@eecs.umich.edu }; 625647Sgblack@eecs.umich.edu} 635647Sgblack@eecs.umich.edu 645647Sgblack@eecs.umich.edu#endif /* __ARCH_ALPHA_REMOTE_GDB_H__ */ 655647Sgblack@eecs.umich.edu