Changeset 15899c in git


Ignore:
Timestamp:
Sep 1, 1999, 3:13:24 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
56cfdbacf75e1219e969be022e6a51f3c1c4abb0
Parents:
62424dbd53231d919bfcde99c97420bf74e19a22
Message:
*hannes: fixed frame-pointer problems on obscure machines (leda)


git-svn-id: file:///usr/local/Singular/svn/trunk@3578 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/mmbt.c

    r62424db r15899c  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: mmbt.c,v 1.8 1999-03-19 17:42:28 obachman Exp $ */
     4/* $Id: mmbt.c,v 1.9 1999-09-01 13:13:24 Singular Exp $ */
    55/*
    66* ABSTRACT: backtrace: part of memory subsystem (for linux/elf)
     
    7070  if (mm_lowpc==0) mmTrackInit();
    7171
    72   while ((fp!=NULL) && ((unsigned long)fp>4095)  && *fp && (pc = getpc (fp))
     72  while ((fp!=NULL) && ((unsigned long)fp>4095) 
     73  && ((unsigned long)fp < ((unsigned long)0x800000))
     74  && *fp && (pc = getpc (fp))
    7375  && !entrypc (pc) && (i<BT_MAXSTACK))
    7476  {
     
    183185    }
    184186    else
    185       fprintf( stderr,":%x",bt_stack[i]);
     187      fprintf( stderr,":%lx",(long)bt_stack[i]);
    186188    i++;
    187189  } while ((i<end) && (bt_stack[i]!=0));
Note: See TracChangeset for help on using the changeset viewer.