summaryrefslogtreecommitdiffstats
path: root/backends/linux-core-note.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-10-10 22:27:58 +0200
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-10-12 20:54:20 +0200
commit4bdbb6716d99a82ded1c56a93165a095c9f96404 (patch)
tree7852c06c733ba1d90ace86425b3deefd4acc5f1d /backends/linux-core-note.c
parent82ed98ac0e471c43d88e27e6b9c6e6f44e74d6cf (diff)
downloadandroid_external_elfutils-4bdbb6716d99a82ded1c56a93165a095c9f96404.tar.gz
android_external_elfutils-4bdbb6716d99a82ded1c56a93165a095c9f96404.tar.bz2
android_external_elfutils-4bdbb6716d99a82ded1c56a93165a095c9f96404.zip
src/
2012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com> * readelf.c (ITEM_WRAP_COLUMN, REGISTER_WRAP_COLUMN): Merge to ... (WRAP_COLUMN): ... here. (print_core_item): Remove parameter format_max. Update function comment. Replace FORMAT_MAX by the real output width. (handle_core_item): Remove the FORMAT_MAX values in TYPES, DO_TYPE, calls of print_core_item, remove variable maxfmt, change ITEM_WRAP_COLUMN to WRAP_COLUMN. (handle_core_register): Remove the FORMAT_MAX values in TYPES, BITS, calls of print_core_item, change REGISTER_WRAP_COLUMN to WRAP_COLUMN. backends/ 2012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com> * linux-core-note.c (prstatus_items): Rename groups of sigpend and sighold to signal2 and signal3. Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
Diffstat (limited to 'backends/linux-core-note.c')
-rw-r--r--backends/linux-core-note.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/linux-core-note.c b/backends/linux-core-note.c
index 15926941..b09154f2 100644
--- a/backends/linux-core-note.c
+++ b/backends/linux-core-note.c
@@ -123,8 +123,10 @@ static const Ebl_Core_Item prstatus_items[] =
FIELD (signal, INT, info.si_code, 'd'),
FIELD (signal, INT, info.si_errno, 'd'),
FIELD (signal, SHORT, cursig, 'd'),
- FIELD (signal, ULONG, sigpend, 'B'),
- FIELD (signal, ULONG, sighold, 'B'),
+
+ /* Use different group name for a newline delimiter. */
+ FIELD (signal2, ULONG, sigpend, 'B'),
+ FIELD (signal3, ULONG, sighold, 'B'),
FIELD (identity, PID_T, pid, 'd', .thread_identifier = true),
FIELD (identity, PID_T, ppid, 'd'),
FIELD (identity, PID_T, pgrp, 'd'),