Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/gdb/config/ns32k gdb no longer did tracebacks on th...



details:   https://anonhg.NetBSD.org/src/rev/7fb42d70ad2b
branches:  trunk
changeset: 473537:7fb42d70ad2b
user:      matthias <matthias%NetBSD.org@localhost>
date:      Sun Jun 06 19:51:42 1999 +0000

description:
gdb no longer did tracebacks on the pc532. Use unsigned not signed
compares when winding up the stack. Thank's to Ian Dall for this fix
(pr#port-pc532/7711).

diffstat:

 gnu/dist/gdb/config/ns32k/tm-nbsd.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r d7d64d2fb0c0 -r 7fb42d70ad2b gnu/dist/gdb/config/ns32k/tm-nbsd.h
--- a/gnu/dist/gdb/config/ns32k/tm-nbsd.h       Sun Jun 06 19:49:11 1999 +0000
+++ b/gnu/dist/gdb/config/ns32k/tm-nbsd.h       Sun Jun 06 19:51:42 1999 +0000
@@ -41,7 +41,7 @@
 #define FRAME_SAVED_PC(FRAME) \
   (((FRAME)->signal_handler_caller \
     ? sigtramp_saved_pc (FRAME) \
-    : read_memory_integer ((FRAME)->frame + 4, 4)) \
+    : read_memory_unsigned_integer ((FRAME)->frame + 4, 4)) \
    )
 
 #undef FRAME_NUM_ARGS
@@ -49,8 +49,8 @@
 
 #undef FRAME_CHAIN
 #define FRAME_CHAIN(thisframe)  \
-  (read_memory_integer ((thisframe)->frame, 4) > (thisframe)->frame ? \
-   read_memory_integer ((thisframe)->frame, 4) : 0)
+  (read_memory_unsigned_integer ((thisframe)->frame, 4) > (thisframe)->frame ? \
+   read_memory_unsigned_integer ((thisframe)->frame, 4) : 0)
 
 #define FRAME_CHAIN_VALID(chain, thisframe)\
      ((chain) != 0\
@@ -98,8 +98,8 @@
 
 #undef FRAME_CHAIN
 #define FRAME_CHAIN(thisframe)  \
-  (read_memory_integer ((thisframe)->frame, 4) > (thisframe)->frame ? \
-   read_memory_integer ((thisframe)->frame, 4) : 0)
+  (read_memory_unsigned_integer ((thisframe)->frame, 4) > (thisframe)->frame ? \
+   read_memory_unsigned_integer ((thisframe)->frame, 4) : 0)
 
 #undef FRAME_CHAIN_VALID
 #define FRAME_CHAIN_VALID(chain, thisframe)    \



Home | Main Index | Thread Index | Old Index