Date: Mon, 5 Aug 1996 10:27:09 PDT From: "Marty Leisner" <leisner@sdsp.mc.xerox.com> To: gdb-testers@cygnus.com Cc: hackers@freebsd.org Subject: gdb 960725 on freebsd 2.2.(5/1/96) Message-ID: <9608051727.AA01695@gnu.mc.xerox.com>
next in thread | raw e-mail | index | archive | help
I had to do the following to get gdb 960725 to compile on
freebsd 2.2 (5/1/96).
I don't know what is "right", but SIGTRAMP seems to have
changed from 4.16 which worked well...
Sometimes is has an argument, sometimes it doesn't...
RCS file: inferior.h,v
retrieving revision 1.1
diff -u -r1.1 inferior.h
--- inferior.h 1996/08/03 03:16:53 1.1
+++ inferior.h 1996/08/03 04:17:25
@@ -315,10 +315,17 @@
no name, assume we are not in sigtramp). */
#if !defined (IN_SIGTRAMP)
# if defined (SIGTRAMP_START)
+#ifdef __FreeBSD__
+# define IN_SIGTRAMP(pc, name) \
+ ((pc) >= SIGTRAMP_START(pc) \
+ && (pc) < SIGTRAMP_END(pc) \
+ )
+#else
# define IN_SIGTRAMP(pc, name) \
((pc) >= SIGTRAMP_START \
&& (pc) < SIGTRAMP_END \
)
+#endif
# else
# define IN_SIGTRAMP(pc, name) \
(name && STREQ ("_sigtramp", name))
: leisner@pb;x
marty leisner@sdsp.mc.xerox.com
Member of the League for Programming Freedom (http://www.lpf.org)
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9608051727.AA01695>
