gdb core dump

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
16 Oct 1998 17:37:58 +0200


Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:

> When I get a segmentation fault and core dump can I use gdb to examine the core
> file and get any useful information about why and where things went wrong? Do I
> need to compile R in a special way to do this? Obviously I'm a newbie at this.
> Details would be appreciated.
> 
> Paul Gilbert

Just execute as

R -d gdb

(and type 'run')

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._