1/*- 2 * Copyright (c) 2006 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 11 unchanged lines hidden (view full) --- 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/gnu/usr.bin/gdb/kgdb/trgt_powerpc.c 246893 2013-02-17 02:15:19Z marcel $"); |
29 30#include <sys/types.h> 31#ifdef CROSS_DEBUGGER 32#include <sys/powerpc/include/pcb.h> 33#include <sys/powerpc/include/frame.h> 34#else 35#include <machine/pcb.h> 36#include <machine/frame.h> --- 7 unchanged lines hidden (view full) --- 44#include <gdbthread.h> 45#include <inferior.h> 46#include <regcache.h> 47#include <frame-unwind.h> 48#include <ppc-tdep.h> 49 50#include "kgdb.h" 51 |
52CORE_ADDR 53kgdb_trgt_core_pcb(u_int cpuid) 54{ 55 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); 56} 57 |
58void 59kgdb_trgt_fetch_registers(int regno __unused) 60{ 61 struct kthr *kt; 62 struct pcb pcb; 63 struct gdbarch_tdep *tdep; 64 int i; 65 --- 136 unchanged lines hidden --- |