* debug.c (struct debug_handle): Remove class_mark field. Add
authorIan Lance Taylor <ian@airs.com>
Mon, 12 Feb 1996 19:41:09 +0000 (19:41 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 12 Feb 1996 19:41:09 +0000 (19:41 +0000)
commitd77487075708aa7e9cb538ab55d010b1b4ae22f2
treea51073509c68bf918c7352a52394ef74bcaeb86f
parent6ca1156deff89a50d8f7973459ebcf749d7d9ab3
* debug.c (struct debug_handle): Remove class_mark field.  Add
id_list and compare_list fields.
(struct debug_class_id): Define.
(struct debug_type_compare_list): Define.
(debug_write): Initialize info->id_list
(debug_write_name): Remove reference to info->class_mark.
(debug_write_type): Get id for all structs and classes.  Simplify
test for whether struct has already been written.
(debug_write_class_type): Get id for all classes.  Simplify test
for whether class has already been written.
(debug_write_block): Don't write out blocks other than the top
level block if they have no local variables.
(debug_set_class_id): New static function.
(debug_type_samep): New static function.
(debug_class_type_samep): New static function.
* prdbg.c (pr_start_struct_type): Always print id.
(pr_start_class_type): Likewise.
(pr_tag_type): Likewise.
binutils/prdbg.c