From: John Gilmore Date: Sat, 4 Jul 1992 12:23:23 +0000 (+0000) Subject: Tidy innerblock_complaint and blockvector_complaint. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76512886f9d138f88e0c853a36681243aef32c64;p=binutils-gdb.git Tidy innerblock_complaint and blockvector_complaint. --- diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 0c33a15a383..7fb2c50b375 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -123,8 +123,11 @@ static int undef_types_allocated, undef_types_length; struct complaint innerblock_complaint = {"inner block not inside outer block in %s", 0, 0}; +struct complaint innerblock_anon_complaint = + {"inner block not inside outer block", 0, 0}; + struct complaint blockvector_complaint = - {"block at %x out of order", 0, 0}; + {"block at 0x%x out of order", 0, 0}; #if 0 struct complaint dbx_class_complaint = @@ -447,8 +450,8 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) amount of time. */ if (BLOCK_START (pblock->block) < BLOCK_START (block) || BLOCK_END (pblock->block) > BLOCK_END (block)) { - complain(&innerblock_complaint, symbol? SYMBOL_NAME (symbol): - "(don't know)"); + complain(symbol? &innerblock_complaint : &innerblock_anon_complaint, + SYMBOL_NAME (symbol)); BLOCK_START (pblock->block) = BLOCK_START (block); BLOCK_END (pblock->block) = BLOCK_END (block); }