User: crestani
Date: 06/07/19 21:24:45
Modified: xemacs/src ChangeLog gc.c vdb-posix.c
Log:
2006-07-18 Marcus Crestani <crestani(a)xemacs.org>
* gc.c (kkcc_backtrace): Print adresses as pointers.
* vdb-posix.c (vdb_fault_handler): Print adresses as pointers.
Revision Changes Path
1.989 +5 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.988
retrieving revision 1.989
diff -u -p -r1.988 -r1.989
--- ChangeLog 2006/07/18 15:01:27 1.988
+++ ChangeLog 2006/07/19 19:24:41 1.989
@@ -1,5 +1,10 @@
2006-07-18 Marcus Crestani <crestani(a)xemacs.org>
+ * gc.c (kkcc_backtrace): Print adresses as pointers.
+ * vdb-posix.c (vdb_fault_handler): Print adresses as pointers.
+
+2006-07-18 Marcus Crestani <crestani(a)xemacs.org>
+
* alloc.c: Fix typo in string_direct_data_description.
2006-07-07 Jerry James <james(a)xemacs.org>
1.6 +3 -3 XEmacs/xemacs/src/gc.c
Index: gc.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/gc.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- gc.c 2006/07/02 07:32:20 1.5
+++ gc.c 2006/07/19 19:24:42 1.6
@@ -649,9 +649,9 @@ kkcc_backtrace (void)
stderr_out (" %s",
XRECORD_LHEADER_IMPLEMENTATION (obj)->name);
}
- stderr_out (" (addr: 0x%x, desc: 0x%x, ",
- (int) kkcc_bt[i].obj,
- (int) kkcc_bt[i].desc);
+ stderr_out (" (addr: %p, desc: %p, ",
+ (void *) kkcc_bt[i].obj,
+ (void *) kkcc_bt[i].desc);
if (kkcc_bt[i].pos >= 0)
stderr_out ("pos: %d)\n", kkcc_bt[i].pos);
else
1.4 +2 -2 XEmacs/xemacs/src/vdb-posix.c
Index: vdb-posix.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/vdb-posix.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- vdb-posix.c 2006/06/19 18:19:38 1.3
+++ vdb-posix.c 2006/07/19 19:24:42 1.4
@@ -80,8 +80,8 @@ vdb_fault_handler (FAULT_HANDLER_ARGUMEN
signal_name = "SIGBUS";
else
ABORT (); /* something weird happened: wrong signal caught */
- fprintf (stderr, "\n\nFatal Error: Received %s (%d) for address 0x%x\n",
- signal_name, signum, (int) GET_FAULT_ADDRESS);
+ fprintf (stderr, "\n\nFatal Error: Received %s (%d) for address %p\n",
+ signal_name, signum, (void *) GET_FAULT_ADDRESS);
#ifdef FAULT_HANDLER_CALL_PREVIOUS_HANDLER
if (signum == SIGSEGV)
segv_oact (signum);
Show replies by date