diff options
| author | matthias <matthias@NetBSD.org> | 1999-06-06 19:51:42 +0000 |
|---|---|---|
| committer | matthias <matthias@NetBSD.org> | 1999-06-06 19:51:42 +0000 |
| commit | cffb3afd5d420de2ae2c8249b22abdd41a422845 (patch) | |
| tree | 91fe72a3756f218eec603074e43fe3e11ad4b57f /gnu | |
| parent | bb36354c10e5320a1d665446f9879f5edf5ec7b7 (diff) | |
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 (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gdb/config/ns32k/tm-nbsd.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/dist/gdb/config/ns32k/tm-nbsd.h b/gnu/dist/gdb/config/ns32k/tm-nbsd.h index a52f048e141..c598fbf51d2 100644 --- a/gnu/dist/gdb/config/ns32k/tm-nbsd.h +++ b/gnu/dist/gdb/config/ns32k/tm-nbsd.h @@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #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) \ |
