libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libunwind] Two small errors in bk tree


From: Matthieu Delahaye
Subject: [libunwind] Two small errors in bk tree
Date: Sat, 7 Feb 2004 15:28:47 +0100
User-agent: Mutt/1.5.4i

Hi,

I've tried to build libunwind from the last version available on the bk
tree.

I noticed two errors:

When the file src/ia64/Ginstall_cursor.S has been renamed to
src/ia64/Ginstall_cursor-ia64.S, the code from the file
src/ia64/Linstall_cursor-ia64.S hasn't been updated to include the file
with the new name.


In the file include/internal.h, as the macro Debug is not
defined when UNW_DEBUG is not set, the compilation failed.

Here is the patch to correct this (If the second correction is not Ok
for you, correcting the first one can be done manually).

--snip--

diff -Nru old/include/internal.h new/include/internal.h
--- old/include/internal.h      2004-02-07 15:24:37.000000000 +0100
+++ new/include/internal.h      2004-02-07 15:25:48.000000000 +0100
@@ -220,6 +220,7 @@
 # endif
 #else
 # define dprintf(format...)
+# define Debug(level,format...)
 #endif
     
 static inline ALWAYS_INLINE void
diff -Nru old/src/ia64/Linstall_cursor-ia64.S 
new/src/ia64/Linstall_cursor-ia64.S
--- old/src/ia64/Linstall_cursor-ia64.S 2004-02-07 15:25:05.000000000 +0100
+++ new/src/ia64/Linstall_cursor-ia64.S 2004-02-07 15:26:12.000000000 +0100
@@ -1,5 +1,5 @@
 #define UNW_LOCAL_ONLY
        
 #if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY)
-#include "Ginstall_cursor.S"
+#include "Ginstall_cursor-ia64.S"
 #endif

--snip--


Best regards,

Matthieu Delahaye


-- 
It were not best that we should all think alike; it is difference of opinion
that makes horse-races.
                -- Mark Twain, "Pudd'nhead Wilson's Calendar"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]