trgt_arm.c (178713) | trgt_arm.c (246893) |
---|---|
1/* 2 * Copyright (c) 2004 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> | 1/* 2 * Copyright (c) 2004 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_arm.c 178713 2008-05-01 20:36:48Z jhb $"); | 28__FBSDID("$FreeBSD: head/gnu/usr.bin/gdb/kgdb/trgt_arm.c 246893 2013-02-17 02:15:19Z marcel $"); |
29 30#include <sys/types.h> 31#ifndef CROSS_DEBUGGER 32#include <machine/pcb.h> 33#include <machine/frame.h> 34#include <machine/armreg.h> 35#endif 36#include <err.h> --- 5 unchanged lines hidden (view full) --- 42#include <gdbthread.h> 43#include <inferior.h> 44#include <regcache.h> 45#include <frame-unwind.h> 46#include <arm-tdep.h> 47 48#include "kgdb.h" 49 | 29 30#include <sys/types.h> 31#ifndef CROSS_DEBUGGER 32#include <machine/pcb.h> 33#include <machine/frame.h> 34#include <machine/armreg.h> 35#endif 36#include <err.h> --- 5 unchanged lines hidden (view full) --- 42#include <gdbthread.h> 43#include <inferior.h> 44#include <regcache.h> 45#include <frame-unwind.h> 46#include <arm-tdep.h> 47 48#include "kgdb.h" 49 |
50CORE_ADDR 51kgdb_trgt_core_pcb(u_int cpuid) 52{ 53 return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); 54} 55 |
|
50void 51kgdb_trgt_fetch_registers(int regno __unused) 52{ 53#ifndef CROSS_DEBUGGER 54 struct kthr *kt; 55 struct pcb pcb; 56 int i, reg; 57 --- 180 unchanged lines hidden --- | 56void 57kgdb_trgt_fetch_registers(int regno __unused) 58{ 59#ifndef CROSS_DEBUGGER 60 struct kthr *kt; 61 struct pcb pcb; 62 int i, reg; 63 --- 180 unchanged lines hidden --- |