Fold in frame-unwind patch

After moving to svn there's no need to avoid pulling files off a vendor
branch.
This commit is contained in:
emaste 2013-06-17 18:34:34 +00:00
parent 00df95bf48
commit 7e1479c35f
3 changed files with 6 additions and 35 deletions

View File

@ -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;
}

View File

@ -26,7 +26,7 @@ SRCS= annotate.c arch-utils.c auxv.c ax-gdb.c ax-general.c \
elfread.c environ.c eval.c event-loop.c event-top.c exec.c \
expprint.c \
f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c \
${_fork_child} frame-base.c frame-unwind-kluge.c frame.c \
${_fork_child} frame-base.c frame-unwind.c frame.c \
gdb-events.c gdbarch.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \
hpacc-abi.c \
inf-loop.c infcall.c infcmd.c inflow.c ${_infptrace} infrun.c \
@ -67,13 +67,7 @@ _infptrace= infptrace.c
_inftarg= inftarg.c
.endif
GENSRCS= frame-unwind-kluge.c version.c
frame-unwind-kluge.c: frame-unwind.diff
cat ${CNTRB_GDB}/gdb/frame-unwind.c > ${.TARGET}
patch ${.TARGET} ${.ALLSRC}
CLEANFILES= frame-unwind-kluge.c.orig
GENSRCS= version.c
version.c:
echo '#include "version.h"' > ${.TARGET}

View File

@ -1,27 +0,0 @@
$FreeBSD$
Index: frame-unwind.c
===================================================================
RCS file: /home/ncvs/src/contrib/gdb/gdb/frame-unwind.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 frame-unwind.c
--- frame-unwind.c 20 Jun 2004 18:16:58 -0000 1.1.1.1
+++ frame-unwind.c 10 Sep 2005 06:36:55 -0000
@@ -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 @@
{
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;
}