aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-07-04 12:23:23 +0000
committerJohn Gilmore <gnu@cygnus>1992-07-04 12:23:23 +0000
commit76512886f9d138f88e0c853a36681243aef32c64 (patch)
tree447c984f129d4ffbfe1e6a3574c4d5f7975742e4 /gdb/buildsym.c
parent3a16d640660712183f9b130a38fdba768076cce2 (diff)
downloadgdb-76512886f9d138f88e0c853a36681243aef32c64.zip
gdb-76512886f9d138f88e0c853a36681243aef32c64.tar.gz
gdb-76512886f9d138f88e0c853a36681243aef32c64.tar.bz2
Tidy innerblock_complaint and blockvector_complaint.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 0c33a15..7fb2c50 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);
}