I'm trying to patch gdbserver-7.2 with the following patch, by putting it in
patches/gdb-7.2/, but I've found that if I have PTXCONF_GDBSERVER=y and
PTXCONF_GDB is not set, then the patch does not get applied. The patch only
gets applied if I also have PTXCONF_GDB=y. I don't want gdb in my image only
gdbserver. I'm not sure what to do...

Jon

>From bedfe5f8508c52ab0c8b8fce9ccbfe1b65fd7e6f Mon Sep 17 00:00:00 2001
From: Jon Ringle <[email protected]>
Date: Fri, 8 Apr 2011 10:37:03 -0400
Subject: [PATCH] [gdbserver] fix cannot stat libinproctrace.so

Fix for:
/usr/bin/install: cannot stat 'libinproctrace.so': No such file or directory

Fix obtained from http://permalink.gmane.org/gmane.comp.gdb.patches/6049

Signed-off-by: Jon Ringle <[email protected]>
---
 gdb/gdbserver/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 76577cf..c2fc245 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -164,7 +164,7 @@ install: all install-only
 install-only:
  n=`echo gdbserver | sed '$(program_transform_name)'`; \
  if [ x$$n = x ]; then n=gdbserver; else true; fi; \
- if [ x$IPA_DEPFILES != x ]; then \
+ if [ x$$IPA_DEPFILES != x ]; then \
  $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \
  $(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \
  fi; \
-- 
1.7.0.4
-- 
ptxdist mailing list
[email protected]

Reply via email to