remote_gdb.hh revision 6691
1545SN/A/*
22512SN/A * Copyright (c) 2002-2005 The Regents of The University of Michigan
3545SN/A * Copyright (c) 2007-2008 The Florida State University
4545SN/A * Copyright (c) 2009 The University of Edinburgh
5545SN/A * All rights reserved.
6545SN/A *
7545SN/A * Redistribution and use in source and binary forms, with or without
8545SN/A * modification, are permitted provided that the following conditions are
9545SN/A * met: redistributions of source code must retain the above copyright
10545SN/A * notice, this list of conditions and the following disclaimer;
11545SN/A * redistributions in binary form must reproduce the above copyright
12545SN/A * notice, this list of conditions and the following disclaimer in the
13545SN/A * documentation and/or other materials provided with the distribution;
14545SN/A * neither the name of the copyright holders nor the names of its
15545SN/A * contributors may be used to endorse or promote products derived from
16545SN/A * this software without specific prior written permission.
17545SN/A *
18545SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19545SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20545SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21545SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22545SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23545SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24545SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25545SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26545SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27545SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28545SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29545SN/A *
30679SN/A * Authors: Nathan Binkert
31545SN/A *          Stephen Hines
322489SN/A *          Timothy M. Jones
332497SN/A */
342640Sstever@eecs.umich.edu
352489SN/A#ifndef __ARCH_ARM_REMOTE_GDB_HH__
362489SN/A#define __ARCH_ARM_REMOTE_GDB_HH__
372489SN/A
382489SN/A#include "base/remote_gdb.hh"
392630SN/A
402489SN/Anamespace PowerISA
412489SN/A{
422489SN/A
432489SN/Aclass RemoteGDB : public BaseRemoteGDB
442489SN/A{
452630SN/A  public:
462489SN/A    RemoteGDB(System *system, ThreadContext *context)
472489SN/A        : BaseRemoteGDB(system, context, 1)
482489SN/A    {
492489SN/A    }
502489SN/A
512521SN/A    bool
522489SN/A    acc(Addr, size_t)
532521SN/A    {
542521SN/A        panic("acc not implemented for POWER!");
552489SN/A    }
562489SN/A
572489SN/A    void
582489SN/A    getregs()
592489SN/A    {
602489SN/A        panic("getregs not implemented for POWER!");
612489SN/A    }
622489SN/A
632489SN/A    void
642489SN/A    setregs()
652489SN/A    {
662489SN/A        panic("setregs not implemented for POWER!");
672384SN/A    }
682384SN/A
692384SN/A    void
702641Sstever@eecs.umich.edu    clearSingleStep()
712384SN/A    {
722384SN/A        panic("clearSingleStep not implemented for POWER!");
732630SN/A    }
742384SN/A
752384SN/A    void
762384SN/A    setSingleStep()
772384SN/A    {
782630SN/A        panic("setSingleStep not implemented for POWER!");
792384SN/A    }
802384SN/A};
812639Sstever@eecs.umich.edu
822641Sstever@eecs.umich.edu} // PowerISA namespace
832630SN/A
842641Sstever@eecs.umich.edu#endif /* __ARCH_POWER_REMOTE_GDB_H__ */
852384SN/A