summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-18 21:34:24 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:17 +0200
commitbf2568df343288fb3644848c3498bd080b6bbde8 (patch)
tree14f68c3f8091b2f7e3805d00ed83c3145e0d9e94 /ddb
parent5c3420697311db3320b9525ab4b5db3bb07a8db1 (diff)
2008-07-18 Andrei Barbu <andrei@0xab.com>
* ddb/db_sym.c (db_task_printsym): Do not print empty symbols.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_sym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_sym.c b/ddb/db_sym.c
index 6bf8ec2..5f8a0f4 100644
--- a/ddb/db_sym.c
+++ b/ddb/db_sym.c
@@ -450,7 +450,7 @@ db_task_printsym(off, strategy, task)
cursym = db_search_task_symbol(off, strategy, &d, task);
db_symbol_values(0, cursym, &name, &value);
- if (name == 0 || d >= db_maxoff || value == 0) {
+ if (name == 0 || d >= db_maxoff || value == 0 || *name == 0) {
db_printf("%#n", off);
return;
}