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_powerpc64.c 246893 2013-02-17 02:15:19Z marcel $"); |
29 30#include <sys/types.h> 31#include <machine/pcb.h> 32#include <machine/frame.h> 33#include <err.h> 34#include <kvm.h> 35#include <string.h> 36 37#include <defs.h> 38#include <target.h> 39#include <gdbthread.h> 40#include <inferior.h> 41#include <regcache.h> 42#include <frame-unwind.h> 43#include <ppc-tdep.h> 44 45#include "kgdb.h" 46 |
47CORE_ADDR 48kgdb_trgt_core_pcb(u_int cpuid) 49{ 50 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); 51} 52 |
53void 54kgdb_trgt_fetch_registers(int regno __unused) 55{ 56 struct kthr *kt; 57 struct pcb pcb; 58 struct gdbarch_tdep *tdep; 59 int i; 60 --- 138 unchanged lines hidden --- |