aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2000-09-04 21:46:26 +0000
committerAnthony Green <green@gcc.gnu.org>2000-09-04 21:46:26 +0000
commit9d40a6660ec161416823832e4ee72c327c87ae07 (patch)
tree1fd87f2ce536dd29445de5892426692c14b8935b
parent23e95411172be3b2a994b82da8d3a78bf9c96a9d (diff)
downloadgcc-9d40a6660ec161416823832e4ee72c327c87ae07.zip
gcc-9d40a6660ec161416823832e4ee72c327c87ae07.tar.gz
gcc-9d40a6660ec161416823832e4ee72c327c87ae07.tar.bz2
re GNATS libgcj/230 (Function GC_debug_object_start does not exist)
Fix for PR libgcj/230: * mark.c (GC_mark_from_mark_stack): Remove call to GC_debug_object_start. * gc_priv.h (GC_debug_object_start): Remove prototype. From-SVN: r36145
-rw-r--r--boehm-gc/ChangeLog7
-rw-r--r--boehm-gc/gc_priv.h4
-rw-r--r--boehm-gc/mark.c3
3 files changed, 7 insertions, 7 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 805ab77..274d309 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,10 @@
+2000-09-04 Anthony Green <green@redhat.com>
+
+ Fix for PR libgcj/230:
+ * mark.c (GC_mark_from_mark_stack): Remove call to
+ GC_debug_object_start.
+ * gc_priv.h (GC_debug_object_start): Remove prototype.
+
2000-08-16 Alexandre Oliva <aoliva@redhat.com>
* gcconfig.h [OSF1] (_end): Declare as `int'.
diff --git a/boehm-gc/gc_priv.h b/boehm-gc/gc_priv.h
index 841b752..c0fa5d6 100644
--- a/boehm-gc/gc_priv.h
+++ b/boehm-gc/gc_priv.h
@@ -1772,10 +1772,6 @@ void GC_print_obj(/* ptr_t p */);
/* P points to somewhere inside an object with */
/* debugging info. Print a human readable */
/* description of the object to stderr. */
-ptr_t GC_debug_object_start(/* ptr_t p */);
- /* P points to the start of an object that may */
- /* have debug info at its head. Return the */
- /* start of the real data. */
extern void (*GC_check_heap)();
/* Check that all objects in the heap with */
/* debugging info are intact. Print */
diff --git a/boehm-gc/mark.c b/boehm-gc/mark.c
index 461d989..36c0b69 100644
--- a/boehm-gc/mark.c
+++ b/boehm-gc/mark.c
@@ -530,9 +530,6 @@ void GC_mark_from_mark_stack()
case DS_PROC:
GC_mark_stack_top_reg--;
credit -= PROC_BYTES;
-#ifdef GC_DEBUG
- current_p = GC_debug_object_start(current_p);
-#endif
GC_mark_stack_top_reg =
(*PROC(descr))
(current_p, GC_mark_stack_top_reg,