summaryrefslogtreecommitdiffstats
path: root/contrib/gdb
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-06-17 18:34:34 +0000
committeremaste <emaste@FreeBSD.org>2013-06-17 18:34:34 +0000
commit7e1479c35f8619691d2cfae3f32f957848a3b692 (patch)
tree6b5075a07bd8b023d15f90306ce2eb22f5d622ae /contrib/gdb
parent00df95bf48cfbd57dfce15600784ba73faf0b8a7 (diff)
downloadFreeBSD-src-7e1479c35f8619691d2cfae3f32f957848a3b692.zip
FreeBSD-src-7e1479c35f8619691d2cfae3f32f957848a3b692.tar.gz
Fold in frame-unwind patch
After moving to svn there's no need to avoid pulling files off a vendor branch.
Diffstat (limited to 'contrib/gdb')
-rw-r--r--contrib/gdb/gdb/frame-unwind.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gdb/gdb/frame-unwind.c b/contrib/gdb/gdb/frame-unwind.c
index 82eaf7c..5941d80 100644
--- a/contrib/gdb/gdb/frame-unwind.c
+++ b/contrib/gdb/gdb/frame-unwind.c
@@ -27,6 +27,8 @@
static struct gdbarch_data *frame_unwind_data;
+frame_unwind_sniffer_ftype *kgdb_sniffer_kluge;
+
struct frame_unwind_table
{
frame_unwind_sniffer_ftype **sniffer;
@@ -49,6 +51,8 @@ frame_unwind_init (struct gdbarch *gdbarch)
{
struct frame_unwind_table *table = XCALLOC (1, struct frame_unwind_table);
append_predicate (table, dummy_frame_sniffer);
+ if (kgdb_sniffer_kluge != NULL)
+ append_predicate (table, kgdb_sniffer_kluge);
return table;
}
OpenPOWER on IntegriCloud