diff options
author | jmg <jmg@FreeBSD.org> | 2014-02-12 02:08:42 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2014-02-12 02:08:42 +0000 |
commit | bb95603de9a93939d8ba9a9f58708df1029adac8 (patch) | |
tree | 78b07eeb9a4a31d7228f6e725efffa6e5dcbb49b /gnu/usr.bin/gdb | |
parent | 7a66b3978d8c1fb6a34d104a74042f34e4516833 (diff) | |
download | FreeBSD-src-bb95603de9a93939d8ba9a9f58708df1029adac8.zip FreeBSD-src-bb95603de9a93939d8ba9a9f58708df1029adac8.tar.gz |
add support for building a cross-gdb for ARM... This isn't hooked up
to xdev yet as I don't know how to make it work properly... It also
isn't heavily tested...
Reviewed by: silence on -arm
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r-- | gnu/usr.bin/gdb/kgdb/trgt_arm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/trgt_arm.c b/gnu/usr.bin/gdb/kgdb/trgt_arm.c index ca18ae3..489c046 100644 --- a/gnu/usr.bin/gdb/kgdb/trgt_arm.c +++ b/gnu/usr.bin/gdb/kgdb/trgt_arm.c @@ -50,7 +50,11 @@ __FBSDID("$FreeBSD$"); CORE_ADDR kgdb_trgt_core_pcb(u_int cpuid) { +#ifndef CROSS_DEBUGGER return (kgdb_trgt_stop_pcb(cpuid, sizeof(struct pcb))); +#else + return -1; +#endif } void |